From 7f1d39efa66f1fbb3d22244b46198e23499a75a3 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Wed, 5 Jun 2019 16:13:21 +0200 Subject: [PATCH] drm/r128: drop use of drmP.h Drop use of the deprecated drmP.h header file. Replace it with relevant include files. Sort include files in files touched. Signed-off-by: Sam Ravnborg Reviewed-by: Daniel Vetter Cc: David Airlie Link: https://patchwork.freedesktop.org/patch/msgid/20190605141321.17819-3-sam@ravnborg.org --- drivers/gpu/drm/r128/r128_cce.c | 12 ++++++++++-- drivers/gpu/drm/r128/r128_drv.c | 9 ++++++--- drivers/gpu/drm/r128/r128_drv.h | 6 ++++++ drivers/gpu/drm/r128/r128_state.c | 9 ++++++++- 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/r128/r128_cce.c b/drivers/gpu/drm/r128/r128_cce.c index 6f426bb06934..138af32480d4 100644 --- a/drivers/gpu/drm/r128/r128_cce.c +++ b/drivers/gpu/drm/r128/r128_cce.c @@ -29,13 +29,21 @@ * Gareth Hughes */ +#include +#include #include +#include #include #include -#include +#include -#include +#include +#include +#include +#include +#include #include + #include "r128_drv.h" #define R128_FIFO_DEBUG 0 diff --git a/drivers/gpu/drm/r128/r128_drv.c b/drivers/gpu/drm/r128/r128_drv.c index 4b1a505ab353..fd74f744604f 100644 --- a/drivers/gpu/drm/r128/r128_drv.c +++ b/drivers/gpu/drm/r128/r128_drv.c @@ -31,11 +31,14 @@ #include -#include +#include +#include +#include +#include +#include #include -#include "r128_drv.h" -#include +#include "r128_drv.h" static struct pci_device_id pciidlist[] = { r128_PCI_IDS diff --git a/drivers/gpu/drm/r128/r128_drv.h b/drivers/gpu/drm/r128/r128_drv.h index 115bb286dd2a..ba8c30ed91d1 100644 --- a/drivers/gpu/drm/r128/r128_drv.h +++ b/drivers/gpu/drm/r128/r128_drv.h @@ -35,8 +35,14 @@ #ifndef __R128_DRV_H__ #define __R128_DRV_H__ +#include +#include +#include + #include +#include #include +#include /* General customization: */ diff --git a/drivers/gpu/drm/r128/r128_state.c b/drivers/gpu/drm/r128/r128_state.c index 2535ea8d2d9b..9d74c9d914cb 100644 --- a/drivers/gpu/drm/r128/r128_state.c +++ b/drivers/gpu/drm/r128/r128_state.c @@ -28,8 +28,15 @@ * Gareth Hughes */ -#include +#include +#include +#include + +#include +#include +#include #include + #include "r128_drv.h" /* ================================================================ -- 2.30.2