Commit b8d11488 authored by Sam Ravnborg's avatar Sam Ravnborg

drm: make drm_legacy.h self-contained

Do not require users of drm_legacy.h to include other
files just to let it build
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Acked-by: default avatarDaniel 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-6-sam@ravnborg.org
parent 7a44fdce
...@@ -29,11 +29,15 @@ ...@@ -29,11 +29,15 @@
* drivers use them, and removing them are API breaks. * drivers use them, and removing them are API breaks.
*/ */
#include <linux/list.h> #include <linux/list.h>
#include <drm/drm.h>
#include <drm/drm_device.h>
#include <drm/drm_legacy.h> #include <drm/drm_legacy.h>
struct agp_memory; struct agp_memory;
struct drm_device; struct drm_device;
struct drm_file; struct drm_file;
struct drm_buf_desc;
/* /*
* Generic DRM Contexts * Generic DRM Contexts
......
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