diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-03-08 13:55:40 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-11 11:47:06 +0200 |
commit | 95035d45de1c988b04d49f2a892e4e1952ac9766 (patch) | |
tree | be9e7f731069929cdf8182d6888bd9706a253dd2 /drivers/gpu/drm/drm_crtc_helper_internal.h | |
parent | d70ca9069042c3f20ef509c1467ec99c574dfdf8 (diff) | |
download | linux-stable-95035d45de1c988b04d49f2a892e4e1952ac9766.tar.gz linux-stable-95035d45de1c988b04d49f2a892e4e1952ac9766.tar.bz2 linux-stable-95035d45de1c988b04d49f2a892e4e1952ac9766.zip |
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
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_helper_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_helper_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_helper_internal.h b/drivers/gpu/drm/drm_crtc_helper_internal.h index 28e04e750130..ed4deed07abd 100644 --- a/drivers/gpu/drm/drm_crtc_helper_internal.h +++ b/drivers/gpu/drm/drm_crtc_helper_internal.h @@ -26,6 +26,9 @@ * implementation details and are not exported to drivers. */ +#ifndef __DRM_CRTC_HELPER_INTERNAL_H__ +#define __DRM_CRTC_HELPER_INTERNAL_H__ + #include <drm/drm_connector.h> #include <drm/drm_crtc.h> #include <drm/drm_encoder.h> @@ -44,3 +47,5 @@ drm_connector_mode_valid(struct drm_connector *connector, struct drm_encoder * drm_connector_get_single_encoder(struct drm_connector *connector); + +#endif /* __DRM_CRTC_HELPER_INTERNAL_H__ */ |