summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 18:54:33 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 13:57:18 +0100
commit60ef910d0d7f007c805c2824906d4d6ea24f7890 (patch)
treeddf17a02b1b1b96fc6aa813c37389519aa91c4f1 /include/uapi/drm
parentebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f (diff)
downloadlinux-stable-60ef910d0d7f007c805c2824906d4d6ea24f7890.tar.gz
linux-stable-60ef910d0d7f007c805c2824906d4d6ea24f7890.tar.bz2
linux-stable-60ef910d0d7f007c805c2824906d4d6ea24f7890.zip
drm/etnaviv: add extern C guard for the UAPI header
Cc: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Christian Gmeiner <christian.gmeiner@gmail.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/etnaviv_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/etnaviv_drm.h b/include/uapi/drm/etnaviv_drm.h
index f95e1c43c3fb..2584c1cca42f 100644
--- a/include/uapi/drm/etnaviv_drm.h
+++ b/include/uapi/drm/etnaviv_drm.h
@@ -19,6 +19,10 @@
#include "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
@@ -222,4 +226,8 @@ struct drm_etnaviv_gem_wait {
#define DRM_IOCTL_ETNAVIV_GEM_USERPTR DRM_IOWR(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_USERPTR, struct drm_etnaviv_gem_userptr)
#define DRM_IOCTL_ETNAVIV_GEM_WAIT DRM_IOW(DRM_COMMAND_BASE + DRM_ETNAVIV_GEM_WAIT, struct drm_etnaviv_gem_wait)
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __ETNAVIV_DRM_H__ */