kernel-ark/arch/ppc/syslib
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
..
btext.c
cpc700_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpc700.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpm2_common.c
cpm2_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
cpm2_pic.h [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
harrier.c
hawk_common.c
i8259.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ibm44x_common.c
ibm44x_common.h
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ibm440gx_common.h
ibm440sp_common.c
ibm440sp_common.h
ibm_ocp.c
ipic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ipic.h
m8xx_setup.c [POWERPC] Remove the unused HTDMSOUND driver 2007-04-30 11:02:05 +10:00
m8xx_wdt.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
m8xx_wdt.h
m82xx_pci.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
m82xx_pci.h
m8260_pci_erratum9.c [POWERPC] ppc: use syslog macro for the printk log level 2007-02-08 15:29:22 +11:00
m8260_setup.c
Makefile [POWERPC] Stop using ppc_sys for Xilinx Virtex boards 2007-04-30 11:02:04 +10:00
mpc8xx_devices.c [POWERPC] 8xx: Off-by-one fixes to SCC parameter RAM definitions 2006-12-04 20:39:40 +11:00
mpc8xx_sys.c
mpc10x_common.c
mpc52xx_devices.c
mpc52xx_pci.c
mpc52xx_pci.h
mpc52xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
mpc52xx_setup.c
mpc52xx_sys.c
mpc83xx_devices.c
mpc83xx_sys.c
mpc85xx_devices.c
mpc85xx_sys.c
mv64x60_dbg.c
mv64x60_win.c
mv64x60.c mv643xx_eth: Place explicit port number in mv643xx_eth_platform_data 2007-03-06 06:14:54 -05:00
mv64360_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ocp.c
open_pic2.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
open_pic_defs.h
open_pic.c
pci_auto.c
ppc4xx_dma.c
ppc4xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc4xx_setup.c
ppc4xx_sgdma.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ppc8xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc8xx_pic.h
ppc83xx_pci.h
ppc83xx_setup.c
ppc83xx_setup.h
ppc85xx_common.c
ppc85xx_common.h
ppc85xx_rio.c [POWERPC] Add "is_power_of_2" checking to log2.h. 2007-02-07 14:03:19 +11:00
ppc85xx_rio.h
ppc85xx_setup.c
ppc85xx_setup.h
ppc403_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc405_pci.c
ppc440spe_pcie.c
ppc440spe_pcie.h
ppc_sys.c
pq2_devices.c
pq2_sys.c
prep_nvram.c
qspan_pci.c
todc_time.c
virtex_devices.c [POWERPC] New registration for common Xilinx Virtex ppc405 platform devices 2007-04-30 11:02:04 +10:00
virtex_devices.h [POWERPC] New registration for common Xilinx Virtex ppc405 platform devices 2007-04-30 11:02:04 +10:00
xilinx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00