summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/armada_drm.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 18:47:05 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 13:57:02 +0100
commit1224649a9c842b4bb2ba4bd06af0c24d2b941ff0 (patch)
treeb0982f3b59a4917679b787711632cce4d4ed5a15 /include/uapi/drm/armada_drm.h
parentcfa7152f1cfeedba7c4ab3abcb4accee94cc2c0f (diff)
downloadlinux-1224649a9c842b4bb2ba4bd06af0c24d2b941ff0.tar.bz2
drm/armada: add extern C guard for the UAPI header
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/uapi/drm/armada_drm.h')
-rw-r--r--include/uapi/drm/armada_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/armada_drm.h b/include/uapi/drm/armada_drm.h
index 6de7f0196ca0..72e326f9c7de 100644
--- a/include/uapi/drm/armada_drm.h
+++ b/include/uapi/drm/armada_drm.h
@@ -11,6 +11,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#define DRM_ARMADA_GEM_CREATE 0x00
#define DRM_ARMADA_GEM_MMAP 0x02
#define DRM_ARMADA_GEM_PWRITE 0x03
@@ -44,4 +48,8 @@ struct drm_armada_gem_pwrite {
#define DRM_IOCTL_ARMADA_GEM_PWRITE \
ARMADA_IOCTL(IOW, GEM_PWRITE, gem_pwrite)
+#if defined(__cplusplus)
+}
+#endif
+
#endif