From: Sam Ravnborg Date: Sun, 26 May 2019 17:35:33 +0000 (+0200) Subject: drm: make drm_legacy.h self-contained X-Git-Tag: v5.15~303^2~28^2~5257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b8d1148892bae9c44c02486bbc0ae85bd2082a55;p=platform%2Fkernel%2Flinux-starfive.git 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: Sam Ravnborg Acked-by: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Link: https://patchwork.freedesktop.org/patch/msgid/20190526173535.32701-6-sam@ravnborg.org --- diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_legacy.h index 013ccdf..1be3ea3 100644 --- a/drivers/gpu/drm/drm_legacy.h +++ b/drivers/gpu/drm/drm_legacy.h @@ -29,11 +29,15 @@ * drivers use them, and removing them are API breaks. */ #include + +#include +#include #include struct agp_memory; struct drm_device; struct drm_file; +struct drm_buf_desc; /* * Generic DRM Contexts