History

drm/tegra: add extern C guard for the UAPI header

Emil Velikov committed 10 years ago

Commit 7aa8cee1 parent 81dda381 file · +8 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/tegra_drm.h+8−0
@@ -25,6 +25,10 @@ · 24 unmodified lines
25 25
26#include "drm.h"26#include "drm.h"
27 27
28#if defined(__cplusplus)
29extern "C" {
30#endif
31
28#define DRM_TEGRA_GEM_CREATE_TILED (1 << 0)32#define DRM_TEGRA_GEM_CREATE_TILED (1 << 0)
29#define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1)33#define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1)
30 34
@@ -198,4 +202,8 @@ struct drm_tegra_gem_get_flags { · 167 unmodified lines
198#define DRM_IOCTL_TEGRA_GEM_SET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_SET_FLAGS, struct drm_tegra_gem_set_flags)202#define DRM_IOCTL_TEGRA_GEM_SET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_SET_FLAGS, struct drm_tegra_gem_set_flags)
199#define DRM_IOCTL_TEGRA_GEM_GET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_GET_FLAGS, struct drm_tegra_gem_get_flags)203#define DRM_IOCTL_TEGRA_GEM_GET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_GET_FLAGS, struct drm_tegra_gem_get_flags)
200 204
205#if defined(__cplusplus)
206}
207#endif
208
201#endif209#endif