projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa7152
)
drm/armada: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 17:47:05 +0000
(18:47 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 12:57:02 +0000
(13:57 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/uapi/drm/armada_drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/armada_drm.h
b/include/uapi/drm/armada_drm.h
index 6de7f0196ca055faa32396967fb417f888ff8a2c..72e326f9c7defd73eab70d139dde8d867e3bd776 100644
(file)
--- 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