android_kernel_samsung_msm8976/drivers/infiniband/hw/ipath
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
..
ipath_common.h IB/ipath: Force PIOAvail update entry point 2007-04-18 20:20:58 -07:00
ipath_cq.c IB/ipath: Fix WC format drift between user and kernel space 2007-04-18 20:21:01 -07:00
ipath_debug.h IB/ipath: Change packet problems vs chip errors handling and reporting 2007-04-18 20:20:55 -07:00
ipath_diag.c IB/ipath: Prevent random program use of diags interface 2007-04-18 20:20:59 -07:00
ipath_dma.c [PATCH] fix ipath_dma_free_coherent() prototype 2007-03-14 15:27:49 -07:00
ipath_driver.c IB/ipath: Disable IB link earlier in shutdown sequence 2007-04-18 20:20:59 -07:00
ipath_eeprom.c IB/ipath: Improve handling and reporting of parity errors 2007-04-18 20:20:58 -07:00
ipath_file_ops.c IB/ipath: Fix unit selection when all CPU affinity bits set 2007-04-18 20:20:59 -07:00
ipath_fs.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ipath_iba6110.c IB/ipath: On unrecoverable errors, force link down, LEDs off 2007-04-18 20:20:59 -07:00
ipath_iba6120.c IB/ipath: On unrecoverable errors, force link down, LEDs off 2007-04-18 20:20:59 -07:00
ipath_init_chip.c IB/ipath: Fix driver crash (in interrupt or during unload) after chip reset 2007-04-18 20:20:58 -07:00
ipath_intr.c IB/ipath: Improve handling and reporting of parity errors 2007-04-18 20:20:58 -07:00
ipath_kernel.h IB/ipath: Improve handling and reporting of parity errors 2007-04-18 20:20:58 -07:00
ipath_keys.c IB/ipath: Check reserved memory keys 2007-04-18 20:21:00 -07:00
ipath_layer.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ipath_layer.h IB/ipath: remove stale references to userspace SMA 2006-09-22 15:22:32 -07:00
ipath_mad.c IB/ipath: Clean up handling of GUID 0 2006-09-28 11:16:32 -07:00
ipath_mmap.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
ipath_mr.c IB/ipath: Fix user memory region creation when IOMMU present 2007-04-18 20:20:54 -07:00
ipath_qp.c IB/ipath: Don't allow QPs 0 and 1 to be opened multiple times 2007-04-18 20:20:59 -07:00
ipath_rc.c IB/ipath: Fix RDMA reads of length zero and error handling 2007-04-18 20:20:57 -07:00
ipath_registers.h IB/ipath: Improve handling and reporting of parity errors 2007-04-18 20:20:58 -07:00
ipath_ruc.c IB/ipath: Support larger IB_QP_MAX_DEST_RD_ATOMIC and IB_QP_MAX_QP_RD_ATOMIC 2007-04-18 20:20:55 -07:00
ipath_srq.c IB/ipath: Count SRQs properly 2006-09-28 11:16:35 -07:00
ipath_stats.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ipath_sysfs.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
ipath_uc.c IB/ipath: Support larger IB_QP_MAX_DEST_RD_ATOMIC and IB_QP_MAX_QP_RD_ATOMIC 2007-04-18 20:20:55 -07:00
ipath_ud.c IB/ipath: Check that a UD work request's address handle is valid 2007-04-18 20:21:00 -07:00
ipath_user_pages.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
ipath_verbs.c IB: Set class_dev->dev in core for nice device symlink 2007-04-24 21:30:38 -07:00
ipath_verbs.h IB/ipath: Fix WC format drift between user and kernel space 2007-04-18 20:21:01 -07:00
ipath_verbs_mcast.c IB/ipath: account for attached QPs correctly 2006-09-22 15:22:35 -07:00
ipath_wc_ppc64.c IB/ipath: Improved support for PowerPC 2006-09-28 11:16:53 -07:00
ipath_wc_x86_64.c IB/ipath: Call mtrr_del with correct arguments 2006-09-28 11:16:57 -07:00
Kconfig IB/ipath: Depend on CONFIG_NET 2006-11-20 13:06:19 -08:00
Makefile IB/ipath: Implement new verbs DMA mapping functions 2006-12-12 14:28:28 -08:00