drm/radeon: add extern C guard for the UAPI header
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 7 Apr 2016 18:13:24 +0000 (19:13 +0100)
committerEmil 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

index ccb9bcd82685dd1e22ff1b2c031dc89130585ce3..490a59cc45328668edcac2d5dd06b01adf6244d2 100644 (file)
 
 #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