WSL2-Linux-Kernel/drivers/atm
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
..
.gitignore [ATM]: Ignore generated file pca200e_ecd.bin2 2006-12-11 14:34:35 -08:00
Kconfig [ATM]: Remove dead ATM_TNETA1570 option. 2006-12-22 11:11:59 -08:00
Makefile [ATM]: Add CPPFLAGS to byteorder.h check 2006-12-06 18:38:42 -08:00
adummy.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ambassador.c [SK_BUFF]: Convert skb->end to sk_buff_data_t 2007-04-25 22:26:29 -07:00
ambassador.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
atmsar11.data Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmsar11.regions Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmsar11.start Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
atmtcp.c [NET]: SPIN_LOCK_UNLOCKED cleanup in drivers/atm, net 2007-04-26 01:37:44 -07:00
eni.c [ATM] ENI: Convert to struct timeval to ktime_t. 2007-04-25 22:23:46 -07:00
eni.h [ATM] ENI: Convert to struct timeval to ktime_t. 2007-04-25 22:23:46 -07:00
firestream.c [ATM] ambassador,firestream: "-1 >>" is implementation defined 2006-12-02 21:22:25 -08:00
firestream.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fore200e.c [ATM]: Use mutex instead of binary semaphore in FORE Systems 200E-series driver 2007-04-26 01:41:49 -07:00
fore200e.h [ATM]: Use mutex instead of binary semaphore in FORE Systems 200E-series driver 2007-04-26 01:41:49 -07:00
fore200e_firmware_copyright Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fore200e_mkfirm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
he.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
he.h [ATM]: [he] Use the DMA_32BIT_MASK constant from dma-mapping.h 2005-04-24 18:55:35 -07:00
horizon.c [PATCH] horizon.c: missing __devinit 2007-01-23 11:09:49 -08:00
horizon.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
idt77105.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
idt77105.h [ATM]: [idt77105] should be __devinit not __init 2006-06-29 16:58:12 -07:00
idt77252.c [ATM] idt77252: Fix double kfree_skb on failure in push_rx_skb 2007-04-25 22:26:39 -07:00
idt77252.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
idt77252_tables.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iphase.c Fix misc .c/.h comment typos 2006-11-30 05:24:39 +01:00
iphase.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lanai.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
midway.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nicstar.c [SK_BUFF]: Introduce skb_copy_from_linear_data{_offset} 2007-04-25 22:28:23 -07:00
nicstar.h [NET]: Kill skb->list 2005-08-29 15:31:14 -07:00
nicstarmac.c atm: Use ARRAY_SIZE macro when appropriate 2007-02-17 15:30:48 -05:00
nicstarmac.copyright Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pca200e.data Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pca200e_ecd.data Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sba200e_ecd.data Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
suni.c [ATM]: [suni] change suni_init to __devinit 2006-06-29 16:58:17 -07:00
suni.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tonga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uPD98401.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uPD98402.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
uPD98402.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zatm.c [PATCH] zatm __init abuse 2007-03-14 15:27:49 -07:00
zatm.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
zeprom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00