]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/omap: add extern C guard for the UAPI header
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:06:40 +0000 (19:06 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:11 +0000 (14:06 +0100)
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>
include/uapi/drm/omap_drm.h

index 38a3bd847e1530feafd3a603a5cf1266c7b8e2ab..407cb55df6ac178e11620fd9554cc913e30b401c 100644 (file)
 
 #include "drm.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /* Please note that modifications to all structs defined here are
  * subject to backwards-compatibility constraints.
  */
@@ -114,4 +118,8 @@ struct drm_omap_gem_info {
 #define DRM_IOCTL_OMAP_GEM_CPU_FINI    DRM_IOW (DRM_COMMAND_BASE + DRM_OMAP_GEM_CPU_FINI, struct drm_omap_gem_cpu_fini)
 #define DRM_IOCTL_OMAP_GEM_INFO                DRM_IOWR(DRM_COMMAND_BASE + DRM_OMAP_GEM_INFO, struct drm_omap_gem_info)
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif /* __OMAP_DRM_H__ */