kernel_optimize_test/drivers/ieee1394
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
..
config_roms.c ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
config_roms.h ieee1394: eth1394: don't autoload by hotplug when ohci1394 starts 2007-04-30 00:00:30 +02:00
csr1212.c ieee1394: csr1212: log if devices have CRC errors in their ROM 2007-04-30 00:00:29 +02:00
csr1212.h ieee1394: csr1212: coding style 2007-04-30 00:00:28 +02:00
csr.c
csr.h
dma.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dma.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
dv1394-private.h
dv1394.c ieee1394: change deprecation status of dv1394 2007-04-09 18:52:27 +02:00
dv1394.h
eth1394.c ieee1394: eth1394: send async streams at S100 on 1394b buses 2007-04-30 00:00:32 +02:00
eth1394.h ieee1394: eth1394: coding style 2007-04-30 00:00:30 +02:00
highlevel.c ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
highlevel.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
hosts.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
hosts.h ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
ieee1394_core.c ieee1394: unexport highlevel_host_reset 2007-04-30 00:00:31 +02:00
ieee1394_core.h ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: send async streams at S100 2007-04-30 00:00:30 +02:00
ieee1394_transactions.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ieee1394_types.h
ieee1394-ioctl.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
ieee1394.h
iso.c ieee1394: iso.c needs sched.h 2007-04-30 00:00:29 +02:00
iso.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
Kconfig ieee1394: remove garbage from Kconfig 2007-04-30 00:00:33 +02:00
Makefile
nodemgr.c ieee1394: nodemgr: unify some error messages 2007-04-30 00:00:30 +02:00
nodemgr.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
ohci1394.c ieee1394: ohci1394: Fix mistake in printk message. 2007-04-30 00:00:32 +02:00
ohci1394.h ieee1394: move some comments from declaration to definition 2007-04-30 00:00:28 +02:00
pcilynx.c
pcilynx.h
raw1394-private.h
raw1394.c ieee1394: remove usage of skb_queue as packet queue 2007-04-30 00:00:29 +02:00
raw1394.h ieee1394: cycle timer read extension for raw1394 2007-02-17 14:39:33 +01:00
sbp2.c ieee1394: sbp2: include fixes 2007-04-30 00:00:27 +02:00
sbp2.h ieee1394: sbp2: remove unnecessary alignments of struct members 2007-04-30 00:00:27 +02:00
video1394.c
video1394.h