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

Configure Feed

Select the types of activity you want to include in your feed.

drm: add missing header guards to drm_crtc_helper_internal.h

Including the file twice can lead to errors.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/b5020cdc2ff6d2f4992ea25cf88d528e4738d700.1709898638.git.jani.nikula@intel.com

+5
+5
drivers/gpu/drm/drm_crtc_helper_internal.h
··· 26 26 * implementation details and are not exported to drivers. 27 27 */ 28 28 29 + #ifndef __DRM_CRTC_HELPER_INTERNAL_H__ 30 + #define __DRM_CRTC_HELPER_INTERNAL_H__ 31 + 29 32 #include <drm/drm_connector.h> 30 33 #include <drm/drm_crtc.h> 31 34 #include <drm/drm_encoder.h> ··· 47 44 48 45 struct drm_encoder * 49 46 drm_connector_get_single_encoder(struct drm_connector *connector); 47 + 48 + #endif /* __DRM_CRTC_HELPER_INTERNAL_H__ */