From: Emil Velikov Date: Fri, 13 May 2016 12:59:03 +0000 (+0100) Subject: drm/sis: add extern C guard for the UAPI header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=81dda38710ffe1fb94e755235e60f10d7e63f51b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/sis: add extern C guard for the UAPI header Signed-off-by: Emil Velikov --- diff --git a/include/uapi/drm/sis_drm.h b/include/uapi/drm/sis_drm.h index a20d88bc4970..3e3f7e989e0b 100644 --- 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__ */