diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-03-08 12:55:39 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-11 10:47:06 +0100 |
commit | d70ca9069042c3f20ef509c1467ec99c574dfdf8 (patch) | |
tree | ff0020f23ff8f58e20419a0aaf2166a2ec9f188e /drivers/gpu/drm/drm_crtc_internal.h | |
parent | drm/gma500: Remove unused intel-mid.h (diff) | |
download | linux-d70ca9069042c3f20ef509c1467ec99c574dfdf8.tar.xz linux-d70ca9069042c3f20ef509c1467ec99c574dfdf8.zip |
drm: add missing header guards to drm_crtc_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/7ad51d9fb9c42c9901c5c1d5d16e32e857da9758.1709898638.git.jani.nikula@intel.com
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index c0c5d79ed4c9..0c693229a1c9 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -32,6 +32,9 @@ * and are not exported to drivers. */ +#ifndef __DRM_CRTC_INTERNAL_H__ +#define __DRM_CRTC_INTERNAL_H__ + #include <linux/err.h> #include <linux/types.h> @@ -305,3 +308,5 @@ drm_edid_load_firmware(struct drm_connector *connector) return ERR_PTR(-ENOENT); } #endif + +#endif /* __DRM_CRTC_INTERNAL_H__ */ |