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

drm/tegra: add extern C guard for the UAPI header

Cc: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>

+8
+8
include/uapi/drm/tegra_drm.h
··· 25 25 26 26 #include "drm.h" 27 27 28 + #if defined(__cplusplus) 29 + extern "C" { 30 + #endif 31 + 28 32 #define DRM_TEGRA_GEM_CREATE_TILED (1 << 0) 29 33 #define DRM_TEGRA_GEM_CREATE_BOTTOM_UP (1 << 1) 30 34 ··· 201 197 #define DRM_IOCTL_TEGRA_GEM_GET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_GET_TILING, struct drm_tegra_gem_get_tiling) 202 198 #define DRM_IOCTL_TEGRA_GEM_SET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_SET_FLAGS, struct drm_tegra_gem_set_flags) 203 199 #define DRM_IOCTL_TEGRA_GEM_GET_FLAGS DRM_IOWR(DRM_COMMAND_BASE + DRM_TEGRA_GEM_GET_FLAGS, struct drm_tegra_gem_get_flags) 200 + 201 + #if defined(__cplusplus) 202 + } 203 + #endif 204 204 205 205 #endif