summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/drm_sarea.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-04-07 19:49:00 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-13 14:57:17 +0200
commitebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f (patch)
treef4a6b0f01b2edd7c0108ae327518c990114f66f9 /include/uapi/drm/drm_sarea.h
parentdrm/armada: add extern C guard for the UAPI header (diff)
downloadlinux-ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f.tar.xz
linux-ebbb0e5cfd2ceb1150b1af7f9fcf7aeebfb1b69f.zip
drm: add extern C guard for the UAPI headers
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'include/uapi/drm/drm_sarea.h')
-rw-r--r--include/uapi/drm/drm_sarea.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/drm_sarea.h b/include/uapi/drm/drm_sarea.h
index 1d1a858a203d..a951ced60ebe 100644
--- a/include/uapi/drm/drm_sarea.h
+++ b/include/uapi/drm/drm_sarea.h
@@ -34,6 +34,10 @@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* SAREA area needs to be at least a page */
#if defined(__alpha__)
#define SAREA_MAX 0x2000U
@@ -83,4 +87,8 @@ typedef struct drm_sarea_frame drm_sarea_frame_t;
typedef struct drm_sarea drm_sarea_t;
#endif
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _DRM_SAREA_H_ */