Skip to content

Commit 37a96be

Browse files
committed
drm/exynos: add extern C guard for the UAPI header
Cc: Andrzej Hajda <a.hajda@samsung.com> Cc: Inki Dae <inki.dae@samsung.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
1 parent 60ef910 commit 37a96be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎include/uapi/drm/exynos_drm.h‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
#include "drm.h"
1919

20+
#if defined(__cplusplus)
21+
extern "C" {
22+
#endif
23+
2024
/**
2125
* User-desired buffer creation information structure.
2226
*
@@ -362,4 +366,8 @@ struct drm_exynos_ipp_event {
362366
__u32 buf_id[EXYNOS_DRM_OPS_MAX];
363367
};
364368

369+
#if defined(__cplusplus)
370+
}
371+
#endif
372+
365373
#endif /* _UAPI_EXYNOS_DRM_H_ */

0 commit comments

Comments
 (0)