OSDN Git Service

drm/mga: Don't include <drm/drm_pci.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Dec 2019 10:03:59 +0000 (11:03 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 5 Dec 2019 07:44:16 +0000 (08:44 +0100)
Including <drm/drm_pci.h> is unnecessary in most cases. Replace
these instances.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191203100406.9674-6-tzimmermann@suse.de
drivers/gpu/drm/mga/mga_drv.h

index d5deecb..66df516 100644 (file)
@@ -32,6 +32,7 @@
 #define __MGA_DRV_H__
 
 #include <linux/irqreturn.h>
+#include <linux/pci.h>
 #include <linux/slab.h>
 
 #include <drm/drm_agpsupport.h>
@@ -40,7 +41,6 @@
 #include <drm/drm_ioctl.h>
 #include <drm/drm_irq.h>
 #include <drm/drm_legacy.h>
-#include <drm/drm_pci.h>
 #include <drm/drm_print.h>
 #include <drm/drm_sarea.h>
 #include <drm/drm_vblank.h>