linux/drivers/pcmcia
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
..
at91_cf.c pcmcia: some class_device fallout 2007-02-16 15:19:18 -08:00
au1000_db1x00.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2006-06-30 15:39:30 -07:00
au1000_generic.c [PATCH] Fix struct device member name in PCMCIA au1000_generic 2007-03-27 09:05:16 -07:00
au1000_generic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1000_pb1x00.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1000_xxs1500.c
cardbus.c Remove useless FIND_FIRST_BIT() macro from cardbus.c. 2007-02-17 19:16:31 +01:00
cirrus.h
cistpl.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
cs_internal.h Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
cs.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ds_internal.h [PATCH] pcmcia: remove export of pcmcia_release_configuration 2006-03-31 17:15:53 +02:00
ds.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
hd64465_ss.c Driver core: more fallout from class_device changes for pcmcia 2007-02-23 14:52:09 -08:00
i82092.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
i82092aa.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
i82365.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
i82365.h
Kconfig [PATCH] don't select CONFIG_HOTPLUG 2006-07-10 13:24:12 -07:00
m8xx_pcmcia.c Driver core: more fallout from class_device changes for pcmcia 2007-02-23 14:52:09 -08:00
m32r_cfc.c Driver core: more fallout from class_device changes for pcmcia 2007-02-23 14:52:09 -08:00
m32r_cfc.h
m32r_pcc.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
m32r_pcc.h
Makefile [PATCH] pcmcia: AT91RM9200 Compact Flash driver 2006-03-31 17:05:41 +02:00
o2micro.h
omap_cf.c [PATCH] omap_cf: oops-on-suspend fix 2007-04-08 19:47:55 -07:00
pcmcia_ioctl.c [PATCH] mark struct file_operations const 5 2007-02-12 09:48:45 -08:00
pcmcia_resource.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
pd6729.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
pd6729.h
pxa2xx_base.c [ARM] Fix suspend oops caused by PXA2xx PCMCIA driver 2006-10-28 22:42:56 +01:00
pxa2xx_base.h [ARM] Fix suspend oops caused by PXA2xx PCMCIA driver 2006-10-28 22:42:56 +01:00
pxa2xx_lubbock.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pxa2xx_mainstone.c
pxa2xx_sharpsl.c [ARM] 3478/1: SharpSL SCOOP: Fix potenial build failure 2006-04-18 23:18:53 +01:00
ricoh.h
rsrc_mgr.c Driver core: more fallout from class_device changes for pcmcia 2007-02-23 14:52:09 -08:00
rsrc_nonstatic.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
sa11xx_base.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sa11xx_base.h
sa1100_assabet.c
sa1100_badge4.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_cerf.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_generic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sa1100_generic.h
sa1100_h3600.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_jornada720.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_neponset.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_shannon.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1100_simpad.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
sa1111_generic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sa1111_generic.h
soc_common.c pcmcia: some class_device fallout 2007-02-16 15:19:18 -08:00
soc_common.h
socket_sysfs.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
tcic.c Driver core: convert pcmcia code to use struct device 2007-02-07 10:37:11 -08:00
tcic.h
ti113x.h [PATCH] pcmcia: TI PCIxx12 CardBus controller support 2006-06-30 22:09:11 +02:00
topic.h
vg468.h
vrc4171_card.c Driver core: more fallout from class_device changes for pcmcia 2007-02-23 14:52:09 -08:00
vrc4173_cardu.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
vrc4173_cardu.h
yenta_socket.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
yenta_socket.h