projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3760999
)
drm/mga: Don't include <drm/drm_pci.h>
author
Thomas Zimmermann
<tzimmermann@suse.de>
Tue, 3 Dec 2019 10:03:59 +0000
(11:03 +0100)
committer
Thomas 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mga/mga_drv.h
b/drivers/gpu/drm/mga/mga_drv.h
index d5deecb93975304ea5c160c07d460344a08156cd..66df5160789683d715a55f590d75343c1b438127 100644
(file)
--- a/
drivers/gpu/drm/mga/mga_drv.h
+++ b/
drivers/gpu/drm/mga/mga_drv.h
@@
-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>