diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-03-07 11:34:10 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-03-07 18:17:25 +0300 |
commit | 087893c5ca4b391e13bedcd001caa93457b33ef7 (patch) | |
tree | 0dbaa4b6e0bca2aaca61f0ba61b26f92f753d93a /drivers/gpu/drm/drm_crtc_internal.h | |
parent | a2c71b711e7efc6478976233768bdbc3386e6dce (diff) | |
download | linux-087893c5ca4b391e13bedcd001caa93457b33ef7.tar.xz |
drm/crtc: make drm_crtc_internal.h self-contained
Forward declare struct drm_printer and include <linux/err.h>.
v2: Include <linux/err.h> (kernel test robot)
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240307083410.2604712-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/drm_crtc_internal.h')
-rw-r--r-- | drivers/gpu/drm/drm_crtc_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index a514d5207e41..c0c5d79ed4c9 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -32,6 +32,7 @@ * and are not exported to drivers. */ +#include <linux/err.h> #include <linux/types.h> enum drm_color_encoding; @@ -54,6 +55,7 @@ struct drm_mode_object; struct drm_mode_set; struct drm_plane; struct drm_plane_state; +struct drm_printer; struct drm_property; struct edid; struct fwnode_handle; |