drm/exynos: add extern C guard for the UAPI header
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 17:58:35 +0000 (18:58 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:02:24 +0000 (14:02 +0100)
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/exynos_drm.h

index 3947c2eb8d69f06262e6931984178b6aaecbdc24..cb3e9f9d029f85f39cbcc3a41b8bef9bd445f56b 100644 (file)
 
 #include "drm.h"
 
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
 /**
  * User-desired buffer creation information structure.
  *
@@ -362,4 +366,8 @@ struct drm_exynos_ipp_event {
        __u32                   buf_id[EXYNOS_DRM_OPS_MAX];
 };
 
+#if defined(__cplusplus)
+}
+#endif
+
 #endif /* _UAPI_EXYNOS_DRM_H_ */