remarkable-linux/drivers/char/watchdog
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
..
acquirewdt.c [WATCHDOG] acquirewdt.c - convert to platform_device part 2 2007-01-10 23:38:56 +01:00
advantechwdt.c [WATCHDOG] advantechwdt.c - convert to platform_device part 2 2007-01-11 22:42:41 +01:00
alim1535_wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
alim7101_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
at91rm9200_wdt.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2006-12-12 23:48:41 +01:00
booke_wdt.c [POWERPC] ppc: Fix booke watchdog initialization 2007-02-08 16:08:30 +11:00
cpu5wdt.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
ep93xx_wdt.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
eurotechwdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
i8xx_tco.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
i8xx_tco.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i6300esb.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
ib700wdt.c [WATCHDOG] ib700wdt.c - convert to platform_device part 2 2007-01-27 22:54:18 +01:00
ibmasr.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
indydog.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
iTCO_vendor_support.c [WATCHDOG] Add iTCO vendor specific support 2006-11-12 18:05:09 +01:00
iTCO_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
ixp4xx_wdt.c fix file specification in comments 2006-10-03 23:01:26 +02:00
ixp2000_wdt.c fix file specification in comments 2006-10-03 23:01:26 +02:00
Kconfig [POWERPC] remove kernel module option for booke wdt 2007-04-30 11:05:48 +10:00
machzwd.c [PATCH] machzwd warning fix 2007-03-18 11:35:07 -07:00
Makefile [WATCHDOG] MIPS RM9000 on-chip watchdog device 2006-11-17 20:45:24 +01:00
mixcomwd.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
mpc8xx_wdt.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
mpc83xx_wdt.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
mpcore_wdt.c [WATCHDOG] watchdog miscdevice patch 2006-12-07 22:46:50 +01:00
mv64x60_wdt.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
omap_wdt.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
omap_wdt.h [PATCH] OMAP: Add Watchdog driver support 2006-09-29 09:18:07 -07:00
pc87413_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
pcwd.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
pcwd_pci.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
pcwd_usb.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
pnx4008_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
rm9k_wdt.c [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
s3c2410_wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
sa1100_wdt.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
sbc60xxwdt.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
sbc8360.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
sbc_epx_c3.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
sc520_wdt.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
sc1200wdt.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
scx200_wdt.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
shwdt.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
smsc37b787_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
softdog.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
w83627hf_wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
w83697hf_wdt.c Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2007-02-13 16:10:08 -08:00
w83877f_wdt.c [WATCHDOG] timers cleanup 2007-02-12 22:43:02 +01:00
w83977f_wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
wafer5823wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
wd501p.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
wdrtas.c [WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl() 2006-10-02 23:08:34 +02:00
wdt.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
wdt285.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
wdt977.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00
wdt_pci.c [WATCHDOG] show default value for nowayout in module parameter 2007-01-27 20:54:24 +01:00