diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-05-26 19:35:31 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-05-27 18:06:27 +0200 |
commit | 1dccccba19a5582294636b4e8916145aade19eb5 (patch) | |
tree | 378e3a27a5478536669ed43791b3cea8d8f96049 | |
parent | cbe932a38dc67f4c5c2fa6ffc4e7f4efa27c06f7 (diff) | |
download | linux-stable-1dccccba19a5582294636b4e8916145aade19eb5.tar.gz linux-stable-1dccccba19a5582294636b4e8916145aade19eb5.tar.bz2 linux-stable-1dccccba19a5582294636b4e8916145aade19eb5.zip |
drm: make drm_crtc_internal.h self-contained
Do not require users of drm_crtc_internal.h to include other
files just to let it build
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Daniel Vetter <daniel@ffwll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190526173535.32701-4-sam@ravnborg.org
-rw-r--r-- | drivers/gpu/drm/drm_crtc_internal.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_crtc_internal.h b/drivers/gpu/drm/drm_crtc_internal.h index 0719a235d6cc..c78a44fad13d 100644 --- a/drivers/gpu/drm/drm_crtc_internal.h +++ b/drivers/gpu/drm/drm_crtc_internal.h @@ -31,14 +31,30 @@ * and are not exported to drivers. */ -enum drm_mode_status; +#include <linux/types.h> + +enum drm_color_encoding; +enum drm_color_range; enum drm_connector_force; +enum drm_mode_status; -struct drm_display_mode; -struct work_struct; -struct drm_connector; +struct drm_atomic_state; struct drm_bridge; +struct drm_connector; +struct drm_crtc; +struct drm_device; +struct drm_display_mode; +struct drm_file; +struct drm_framebuffer; +struct drm_mode_create_dumb; +struct drm_mode_fb_cmd2; +struct drm_mode_fb_cmd; +struct drm_mode_object; +struct drm_plane; +struct drm_property; struct edid; +struct kref; +struct work_struct; /* drm_crtc.c */ int drm_mode_crtc_set_obj_prop(struct drm_mode_object *obj, |