summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 19:36:57 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 14:06:18 +0100
commit6a982350f892c286c645a6fe0e1da1f869a0c43f (patch)
tree4a13d92f69775c8b094dcb021266097c4668c529 /include/uapi/drm
parent7aa8ceeb5709bddd2202f637101b69c81af732c5 (diff)
downloadlinux-6a982350f892c286c645a6fe0e1da1f869a0c43f.tar.bz2
drm/vc4: add extern C guard for the UAPI header
Cc: Eric Anholt <eric@anholt.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/vc4_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/vc4_drm.h b/include/uapi/drm/vc4_drm.h
index eeb37e394f13..af12e8a184c8 100644
--- a/include/uapi/drm/vc4_drm.h
+++ b/include/uapi/drm/vc4_drm.h
@@ -26,6 +26,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#define DRM_VC4_SUBMIT_CL 0x00
#define DRM_VC4_WAIT_SEQNO 0x01
#define DRM_VC4_WAIT_BO 0x02
@@ -276,4 +280,8 @@ struct drm_vc4_get_hang_state {
__u32 pad[16];
};
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _UAPI_VC4_DRM_H_ */