OSDN Git Service

drm/r128: Don't include <drm/drm_pci.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Dec 2019 10:04:01 +0000 (11:04 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 5 Dec 2019 07:44:23 +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-8-tzimmermann@suse.de
drivers/gpu/drm/r128/r128_drv.c

index fd74f74..b7a5f16 100644 (file)
  */
 
 #include <linux/module.h>
+#include <linux/pci.h>
 
 #include <drm/drm_drv.h>
 #include <drm/drm_file.h>
-#include <drm/drm_pci.h>
 #include <drm/drm_pciids.h>
 #include <drm/drm_vblank.h>
 #include <drm/r128_drm.h>