projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99be554
)
drm/radeon: add extern C guard for the UAPI header
author
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:13:24 +0000
(19:13 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Fri, 13 May 2016 13:06:14 +0000
(14:06 +0100)
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
include/uapi/drm/radeon_drm.h
patch
|
blob
|
history
diff --git
a/include/uapi/drm/radeon_drm.h
b/include/uapi/drm/radeon_drm.h
index ccb9bcd82685dd1e22ff1b2c031dc89130585ce3..490a59cc45328668edcac2d5dd06b01adf6244d2 100644
(file)
--- a/
include/uapi/drm/radeon_drm.h
+++ b/
include/uapi/drm/radeon_drm.h
@@
-35,6
+35,10
@@
#include "drm.h"
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
/* WARNING: If you change any of these defines, make sure to change the
* defines in the X server file (radeon_sarea.h)
*/
@@
-1067,4
+1071,8
@@
struct drm_radeon_info {
#define CIK_TILE_MODE_DEPTH_STENCIL_1D 5
+#if defined(__cplusplus)
+}
+#endif
+
#endif