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:
ea526b7
)
drm/sis: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 12:59:03 +0000
(13:59 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:16 +0000
(14:06 +0100)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/sis_drm.h
patch
|
blob
|
blame
|
history
diff --git
a/include/uapi/drm/sis_drm.h
b/include/uapi/drm/sis_drm.h
index a20d88bc4970c66ac19ab56805dbbf370723acf7..3e3f7e989e0b23291408ec8e3d05508f877d4807 100644
(file)
--- a/
include/uapi/drm/sis_drm.h
+++ b/
include/uapi/drm/sis_drm.h
@@
-29,6
+29,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* SiS specific ioctls */
#define NOT_USED_0_3
#define DRM_SIS_FB_ALLOC 0x04
@@
-66,4
+70,8
@@
typedef struct {
unsigned long offset, size;
} drm_sis_fb_t;
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* __SIS_DRM_H__ */