[PATCH 05/24] drm/exynos: add extern C guard for the UAPI header
Emil Velikov
emil.l.velikov at gmail.com
Thu Apr 21 20:17:18 UTC 2016
Cc: Andrzej Hajda <a.hajda at samsung.com>
Cc: Inki Dae <inki.dae at samsung.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
Inki,
Can we please have someone from the Exynos/Samsung look into the
following:
- A follow up on patch cbf0aceff85 "drm/exynos: use arch independent
types in uapi header"
- Use the same licence for both libdrm and kernel version of
exynos_drm.h - ideally X11/MIT.
No rush, just making sure that it doesn't fall through the cracks.
Thanks
Emil
---
include/uapi/drm/exynos_drm.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h
index 3947c2e..cb3e9f9 100644
--- a/include/uapi/drm/exynos_drm.h
+++ b/include/uapi/drm/exynos_drm.h
@@ -17,6 +17,10 @@
#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_ */
--
2.6.2
More information about the dri-devel
mailing list