summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tdfx
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2019-07-16 08:42:12 +0200
committerSam Ravnborg <sam@ravnborg.org>2019-07-17 12:52:55 +0200
commit53fa84b2fabfeb67bbc2f8f21b137ded0ae0bc43 (patch)
treec929d0dd92d24366f90bfd9307e8f2c4ac86bf44 /drivers/gpu/drm/tdfx
parent54ccae0c08929f4a2da0a1a2b0a86e744579ef8b (diff)
drm/tdfx: drop use of drmP.h
Replace drmP.h include with necessary include files. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Emil Velikov <emil.velikov@collabora.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-12-sam@ravnborg.org
Diffstat (limited to 'drivers/gpu/drm/tdfx')
-rw-r--r--drivers/gpu/drm/tdfx/tdfx_drv.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/tdfx/tdfx_drv.c
index 3a1476818c65..c243af156ee7 100644
--- a/drivers/gpu/drm/tdfx/tdfx_drv.c
+++ b/drivers/gpu/drm/tdfx/tdfx_drv.c
@@ -32,11 +32,14 @@
#include <linux/module.h>
-#include <drm/drmP.h>
-#include "tdfx_drv.h"
-
-#include <drm/drm_pciids.h>
+#include <drm/drm_drv.h>
+#include <drm/drm_file.h>
+#include <drm/drm_ioctl.h>
#include <drm/drm_legacy.h>
+#include <drm/drm_pci.h>
+#include <drm/drm_pciids.h>
+
+#include "tdfx_drv.h"
static struct pci_device_id pciidlist[] = {
tdfx_PCI_IDS