1
linux/drivers/mtd/nand
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
..
ams-delta.c [PATCH] MTD NAND: Fix ams-delta after core conversion 2006-08-27 11:01:30 -07:00
at91_nand.c [MTD] NAND: Support for 16-bit bus-width on AT91. 2006-12-08 13:25:17 +00:00
au1550nd.c [MTD NAND] Remove old code in au1550nd.c 2006-09-22 10:09:44 +01:00
autcpu12.c [MTD] Refactor NAND hwcontrol to cmd_ctrl 2006-05-23 23:25:53 +02:00
cafe_ecc.c [MTD] [NAND] Fix an off-by-one in a BUG_ON in CAFÉ ECC correction. 2007-02-09 15:06:02 +00:00
cafe.c [MTD] [NAND] Remember timing settings for CAFÉ NAND controller. 2007-03-23 10:40:04 +00:00
cmx270_nand.c [MTD] [NAND] CM-x270 MTD driver 2007-04-27 23:04:32 +01:00
cs553x_nand.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
diskonchip.c [MTD] [NAND] Correct misspelled preprocessor variable. 2007-03-08 09:48:14 +00:00
edb7312.c [MTD] Cleanup of 'ioremap balanced with iounmap for drivers/mtd subsystem' 2006-10-02 09:48:23 +01:00
excite_nandflash.c [MTD] [NAND] eXcite nand flash driver 2007-02-11 17:57:49 +01:00
h1910.c [MTD] Refactor NAND hwcontrol to cmd_ctrl 2006-05-23 23:25:53 +02:00
Kconfig [MTD] [NAND] CM-x270 MTD driver 2007-04-27 23:04:32 +01:00
Makefile [MTD] [NAND] CM-x270 MTD driver 2007-04-27 23:04:32 +01:00
nand_base.c [MTD] [NAND] Wrong calculation of page number in nand_block_bad() 2007-04-27 15:13:53 +01:00
nand_bbt.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
nand_ecc.c [MTD] [NAND] fix ifdef option in nand_ecc.c 2006-11-29 00:11:39 +00:00
nand_ids.c [MTD] [NAND] Move ancient NAND chip support into a config option 2007-04-17 18:30:57 +01:00
nandsim.c [MTD] nandsim: enhance nandsim to allow arbitrary NAND size 2007-04-17 13:55:55 -04:00
ndfc.c [MTD] [NAND] Fix endianess bug in ndfc.c 2006-11-28 22:22:55 +00:00
ppchameleonevb.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
rtc_from4.c [MTD] [NAND] Compile fix in rfc_from4.c 2006-12-01 09:59:49 +00:00
s3c2410.c [ARM] 4233/1: nand/s3c2410.c: warning fix 2007-02-25 16:41:41 +00:00
sharpsl.c MTD: [NAND] Fix the sharpsl driver after breakage from a core conversion 2006-07-15 13:19:24 +01:00
spia.c [MTD] Refactor NAND hwcontrol to cmd_ctrl 2006-05-23 23:25:53 +02:00
toto.c [MTD] NAND modularize write function 2006-05-26 18:52:08 +02:00
ts7250.c [MTD] NAND: Fix typo in mtd/nand/ts7250.c 2006-06-27 23:20:48 +01:00