android_kernel_xiaomi_sm8350/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 kbuild: introduce utsrelease.h 2006-07-03 23:30:54 +02:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gen550_kgdb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gen550.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
gt64260_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
harrier.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
hawk_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
i8259.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
ibm44x_common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm44x_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm440gp_common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440gp_common.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440gx_common.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ibm440gx_common.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440sp_common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ibm440sp_common.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ibm_ocp.c
ipic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ipic.h [POWERPC] back up old school ipic.[hc] to arch/ppc 2006-08-30 10:34:33 +10:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
mpc10x_common.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_devices.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mpc52xx_pci.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc52xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
mpc52xx_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mpc52xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc83xx_devices.c [PATCH] USB: allow multiple types of EHCI controllers to be built as modules 2006-06-21 15:04:09 -07:00
mpc83xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mpc85xx_devices.c [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
mpc85xx_sys.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
mv64x60_dbg.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mv64x60_win.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
open_pic2.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
open_pic_defs.h [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
open_pic.c [POWERPC] PReP fixup after irq changes 2006-10-07 22:11:20 +10:00
pci_auto.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
ppc4xx_dma.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc4xx_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc4xx_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc83xx_pci.h
ppc83xx_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc83xx_setup.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc85xx_common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc85xx_common.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc85xx_rio.c [POWERPC] Add "is_power_of_2" checking to log2.h. 2007-02-07 14:03:19 +11:00
ppc85xx_rio.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc85xx_setup.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc85xx_setup.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc403_pic.c [POWERPC] ARCH=ppc pt_regs fixes 2006-10-10 11:55:25 +10:00
ppc405_pci.c
ppc440spe_pcie.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ppc440spe_pcie.h
ppc_sys.c [PATCH] ppc32: odd fixes and improvements in ppc_sys 2006-04-28 21:05:16 +10:00
pq2_devices.c [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
pq2_sys.c [PATCH] ppc32: board-specific part of fs_enet update 2006-08-19 17:44:31 -04:00
prep_nvram.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
qspan_pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
todc_time.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
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