diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2016-04-07 14:06:40 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-05-13 09:06:11 -0400 |
commit | c92378a06181456c4d8e45a33764c8524c15b99b (patch) | |
tree | c8c7bd8fc0202615f63f74faa8604859a225d37b /include/uapi/drm/omap_drm.h | |
parent | c6734c689a26591fe43946ffa8911f22e7c631c6 (diff) |
drm/omap: add extern C guard for the UAPI header
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/uapi/drm/omap_drm.h')
-rw-r--r-- | include/uapi/drm/omap_drm.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/omap_drm.h b/include/uapi/drm/omap_drm.h index 38a3bd847e15..407cb55df6ac 100644 --- a/include/uapi/drm/omap_drm.h +++ b/include/uapi/drm/omap_drm.h | |||
@@ -22,6 +22,10 @@ | |||
22 | 22 | ||
23 | #include "drm.h" | 23 | #include "drm.h" |
24 | 24 | ||
25 | #if defined(__cplusplus) | ||
26 | extern "C" { | ||
27 | #endif | ||
28 | |||
25 | /* Please note that modifications to all structs defined here are | 29 | /* Please note that modifications to all structs defined here are |
26 | * subject to backwards-compatibility constraints. | 30 | * subject to backwards-compatibility constraints. |
27 | */ | 31 | */ |
@@ -114,4 +118,8 @@ struct drm_omap_gem_info { | |||
114 | #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini) | 118 | #define DRM_IOCTL_OMAP_GEM_CPU_FINI DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini) |
115 | #define DRM_IOCTL_OMAP_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info) | 119 | #define DRM_IOCTL_OMAP_GEM_INFO DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info) |
116 | 120 | ||
121 | #if defined(__cplusplus) | ||
122 | } | ||
123 | #endif | ||
124 | |||
117 | #endif /* __OMAP_DRM_H__ */ | 125 | #endif /* __OMAP_DRM_H__ */ |