Commit 087893c5 authored by Jani Nikula's avatar Jani Nikula

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: default avatarThomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240307083410.2604712-1-jani.nikula@intel.com
parent a2c71b71
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
* and are not exported to drivers. * and are not exported to drivers.
*/ */
#include <linux/err.h>
#include <linux/types.h> #include <linux/types.h>
enum drm_color_encoding; enum drm_color_encoding;
...@@ -54,6 +55,7 @@ struct drm_mode_object; ...@@ -54,6 +55,7 @@ struct drm_mode_object;
struct drm_mode_set; struct drm_mode_set;
struct drm_plane; struct drm_plane;
struct drm_plane_state; struct drm_plane_state;
struct drm_printer;
struct drm_property; struct drm_property;
struct edid; struct edid;
struct fwnode_handle; struct fwnode_handle;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment