linux/drivers/video
Jean Delvare 6473d160b4 PCI: Cleanup the includes of <linux/pci.h>
I noticed that many source files include <linux/pci.h> while they do
not appear to need it. Here is an attempt to clean it all up.

In order to find all possibly affected files, I searched for all
files including <linux/pci.h> but without any other occurence of "pci"
or "PCI". I removed the include statement from all of these, then I
compiled an allmodconfig kernel on both i386 and x86_64 and fixed the
false positives manually.

My tests covered 66% of the affected files, so there could be false
positives remaining. Untested files are:

arch/alpha/kernel/err_common.c
arch/alpha/kernel/err_ev6.c
arch/alpha/kernel/err_ev7.c
arch/ia64/sn/kernel/huberror.c
arch/ia64/sn/kernel/xpnet.c
arch/m68knommu/kernel/dma.c
arch/mips/lib/iomap.c
arch/powerpc/platforms/pseries/ras.c
arch/ppc/8260_io/enet.c
arch/ppc/8260_io/fcc_enet.c
arch/ppc/8xx_io/enet.c
arch/ppc/syslib/ppc4xx_sgdma.c
arch/sh64/mach-cayman/iomap.c
arch/xtensa/kernel/xtensa_ksyms.c
arch/xtensa/platform-iss/setup.c
drivers/i2c/busses/i2c-at91.c
drivers/i2c/busses/i2c-mpc.c
drivers/media/video/saa711x.c
drivers/misc/hdpuftrs/hdpu_cpustate.c
drivers/misc/hdpuftrs/hdpu_nexus.c
drivers/net/au1000_eth.c
drivers/net/fec_8xx/fec_main.c
drivers/net/fec_8xx/fec_mii.c
drivers/net/fs_enet/fs_enet-main.c
drivers/net/fs_enet/mac-fcc.c
drivers/net/fs_enet/mac-fec.c
drivers/net/fs_enet/mac-scc.c
drivers/net/fs_enet/mii-bitbang.c
drivers/net/fs_enet/mii-fec.c
drivers/net/ibm_emac/ibm_emac_core.c
drivers/net/lasi_82596.c
drivers/parisc/hppb.c
drivers/sbus/sbus.c
drivers/video/g364fb.c
drivers/video/platinumfb.c
drivers/video/stifb.c
drivers/video/valkyriefb.c
include/asm-arm/arch-ixp4xx/dma.h
sound/oss/au1550_ac97.c

I would welcome test reports for these files. I am fine with removing
the untested files from the patch if the general opinion is that these
changes aren't safe. The tested part would still be nice to have.

Note that this patch depends on another header fixup patch I submitted
to LKML yesterday:
  [PATCH] scatterlist.h needs types.h
  http://lkml.org/lkml/2007/3/01/141

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-05-02 19:02:35 -07:00
..
aty PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
backlight [PATCH] misc NULL noise 2007-03-14 15:27:49 -07:00
console backlight/fbcon: Add FB_EVENT_CONBLANK 2007-02-20 08:38:45 +00:00
geode [PATCH] Recognize video=gx1fb:... option 2007-02-12 09:48:42 -08:00
i810 [PATCH] i810fb: fix i810_check_params section mismatch 2007-02-20 17:10:16 -08:00
intelfb [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
kyro [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
logo
matrox i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
mbx [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
nvidia Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
pnx4008
riva Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
savage [PATCH] savagefb: Fix compile error if debugging is enabled 2007-03-16 19:25:04 -07:00
sis [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c
amifb.c
arcfb.c
asiliantfb.c
atafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
au1100fb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
au1100fb.h
au1200fb.c
au1200fb.h
bt431.h
bt455.h
bw2.c [BW2]: Fix section mismatch warnings. 2007-03-09 23:11:05 -08:00
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c
cg3.c [SPARC/64] constify of_get_property return: drivers 2007-04-26 01:54:27 -07:00
cg6.c
cg14.c [CG14]: Fix section mismatch warnings. 2007-03-09 23:10:56 -08:00
chipsfb.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
cirrusfb.c
clps711xfb.c
controlfb.c [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
controlfb.h
cyber2000fb.c [PATCH] cyber2010 framebuffer on ARM Netwinder fix 2007-02-12 09:48:42 -08:00
cyber2000fb.h
cyblafb.c
dnfb.c
edid.h
epson1355fb.c
fb_ddc.c
fb_notify.c
fbcmap.c
fbcvt.c
fbmem.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fbmon.c
fbsysfs.c backlight: Rework backlight/fb interaction simplifying, lots 2007-02-20 08:38:46 +00:00
ffb.c [VIDEO] ffb: Fix two DAC handling bugs. 2007-03-26 23:18:09 -07:00
fm2fb.c
g364fb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
gbefb.c
gxt4500.c
hgafb.c
hitfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
hpfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
igafb.c [IGAFB]: Use pci_device_to_OF_node() on sparc. 2007-04-26 01:55:03 -07:00
imacfb.c
imsttfb.c
imxfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
imxfb.h
Kconfig Merge branch 'linux-2.6' into for-2.6.22 2007-04-30 12:38:01 +10:00
leo.c
macfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
macmodes.c
macmodes.h
Makefile [PATCH] fb: SM501 framebuffer driver 2007-02-20 17:10:16 -08:00
maxinefb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
modedb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
neofb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
offb.c Revert "[POWERPC] Rename get_property to of_get_property: drivers" 2007-04-26 22:24:31 +10:00
output.c
p9100.c
platinumfb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
platinumfb.h
pm2fb.c
pm3fb.c [PATCH] pm3fb: kill pci_find_device usage 2007-02-12 09:48:42 -08:00
pmag-aa-fb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pmag-ba-fb.c
pmagb-b-fb.c
ps3fb.c [PATCH] ps3: Virtual Frame Buffer Driver 2007-02-12 09:48:44 -08:00
pvr2fb.c
pxafb.c
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c [PATCH] s3c2410fb: fix un-initialised dev field 2007-02-16 08:14:01 -08:00
s3c2410fb.h
s3fb.c [PATCH] drivers/video/s3fb.c: fix a use-before-check 2007-03-22 19:39:05 -07:00
sa1100fb.c
sa1100fb.h [PATCH] Replace regular code with appropriate calls to container_of() 2007-02-11 11:18:06 -08:00
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
sm501fb.c [PATCH] fb: sm501fb off-by-1 sysfs store 2007-03-05 07:57:51 -08:00
sstfb.c [PATCH] sstfb: fix pixclock setting on Voodoo 1/2 cards 2007-03-16 19:25:04 -07:00
sticore.h
stifb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
svgalib.c [PATCH] fbdev driver for S3 Trio/Virge 2007-02-12 09:48:41 -08:00
tcx.c
tdfxfb.c
tgafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
tridentfb.c
tx3912fb.c
valkyriefb.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
valkyriefb.h
vesafb.c
vfb.c
vga16fb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
vgastate.c
w100fb.c
w100fb.h