summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-05-11 11:48:47 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-05-11 11:48:47 -0700
commit24638027f19a0294d10dc9b49a2d21051030bc47 (patch)
tree176838952b3c92a7cd44804f27fd7964b6725f25 /include/uapi
parent8691dbd00ff719219aef64a23085941d859b0dd6 (diff)
parentef65ba5219e85ef4fa4ad3fdadf054596e0845b6 (diff)
Merge "drm/msm: add extern C guard for the UAPI header"
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/msm_drm.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/drm/msm_drm.h b/include/uapi/drm/msm_drm.h
index 07e6e00a89f6..5bd9321c717a 100644
--- a/include/uapi/drm/msm_drm.h
+++ b/include/uapi/drm/msm_drm.h
@@ -22,6 +22,10 @@
#include <drm/drm.h>
#include <drm/sde_drm.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* Please note that modifications to all structs defined here are
* subject to backwards-compatibility constraints:
* 1) Do not use pointers, use __u64 instead for 32 bit / 64 bit
@@ -387,4 +391,9 @@ struct drm_msm_gem_sync {
struct drm_msm_counter_read)
#define DRM_IOCTL_MSM_GEM_SYNC DRM_IOW(DRM_COMMAND_BASE + DRM_MSM_GEM_SYNC,\
struct drm_msm_gem_sync)
+
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __MSM_DRM_H__ */