From: Emil Velikov Date: Thu, 7 Apr 2016 17:58:35 +0000 (+0100) Subject: drm/exynos: add extern C guard for the UAPI header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37a96bedae42317e85dcb1a5064a3ef39ded338c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/exynos: add extern C guard for the UAPI header Cc: Andrzej Hajda Cc: Inki Dae Signed-off-by: Emil Velikov --- diff --git a/include/uapi/drm/exynos_drm.h b/include/uapi/drm/exynos_drm.h index 3947c2eb8d69..cb3e9f9d029f 100644 --- a/include/uapi/drm/exynos_drm.h +++ b/include/uapi/drm/exynos_drm.h @@ -17,6 +17,10 @@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + /** * User-desired buffer creation information structure. * @@ -362,4 +366,8 @@ struct drm_exynos_ipp_event { __u32 buf_id[EXYNOS_DRM_OPS_MAX]; }; +#if defined(__cplusplus) +} +#endif + #endif /* _UAPI_EXYNOS_DRM_H_ */