From 37a96bedae42317e85dcb1a5064a3ef39ded338c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 7 Apr 2016 18:58:35 +0100 Subject: [PATCH] drm/exynos: add extern C guard for the UAPI header Cc: Andrzej Hajda Cc: Inki Dae Signed-off-by: Emil Velikov --- include/uapi/drm/exynos_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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_ */ -- 2.39.5