Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+8
+8
include/uapi/drm/exynos_drm.h
··· 17 17 18 18 #include "drm.h" 19 19 20 + #if defined(__cplusplus) 21 + extern "C" { 22 + #endif 23 + 20 24 /** 21 25 * User-desired buffer creation information structure. 22 26 * ··· 365 361 __u32 reserved; 366 362 __u32 buf_id[EXYNOS_DRM_OPS_MAX]; 367 363 }; 364 + 365 + #if defined(__cplusplus) 366 + } 367 + #endif 368 368 369 369 #endif /* _UAPI_EXYNOS_DRM_H_ */