diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-06-23 13:35:42 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-06-30 10:58:08 +0300 |
commit | 9f397801110476da9d450886d48b666ee22b39b0 (patch) | |
tree | e39a3fd26b1d07384ec72462c5e7f8881141c8ec /drivers/gpu/drm/mgag200/mgag200_fb.c | |
parent | 36999fd02d92e21142471867973d0e3786370724 (diff) | |
download | linux-9f397801110476da9d450886d48b666ee22b39b0.tar.xz |
drm/mgag200: drop use of drmP.h
Drop use of the deprecated drmP.h header file.
Replace with necessary include files to fix build.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Link: https://patchwork.freedesktop.org/patch/msgid/20190623103542.30697-5-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/mgag200/mgag200_fb.c')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_fb.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_fb.c b/drivers/gpu/drm/mgag200/mgag200_fb.c index e02d5479ea46..c77cf1b34c98 100644 --- a/drivers/gpu/drm/mgag200/mgag200_fb.c +++ b/drivers/gpu/drm/mgag200/mgag200_fb.c @@ -7,12 +7,15 @@ * Matt Turner * Dave Airlie */ + #include <linux/module.h> -#include <drm/drmP.h> -#include <drm/drm_util.h> +#include <linux/vmalloc.h> + +#include <drm/drm_crtc_helper.h> #include <drm/drm_fb_helper.h> +#include <drm/drm_fourcc.h> #include <drm/drm_gem_framebuffer_helper.h> -#include <drm/drm_crtc_helper.h> +#include <drm/drm_util.h> #include "mgag200_drv.h" |