alistair23-linux/sound/oss
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
..
dmasound [POWERPC] Remove old interface find_devices 2007-04-24 22:09:02 +10:00
emu10k1 [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
.gitignore
ac97.c [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97_codec.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
aci.c
aci.h
ad1816.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ad1848.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ad1848.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ad1848_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
ad1889.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
ad1889.h
adlib_card.c fix file specification in comments 2006-10-03 23:01:26 +02:00
aedsp16.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1550_ac97.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
bin2hex.c
btaudio.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
CHANGELOG
coproc.h
cs46xx.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
cs46xx_wrapper-24.h
cs46xxpm.h
cs461x.h
cs461x_image.h
cs4232.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
dev_table.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dev_table.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dmabuf.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
es1371.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
hal2.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
hal2.h
hex2hex.c
i810_audio.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
kahlua.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
Kconfig [PATCH] Remove dead kernel config option AEDSP16_MPU401. 2007-02-11 11:18:06 -08:00
Makefile [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_ctrl.h
midi_synth.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_synth.h
midibuf.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
mpu401.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
mpu401.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
msnd.c
msnd.h
msnd_classic.c
msnd_classic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msnd_pinnacle.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
msnd_pinnacle.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nec_vrc5477.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
nm256.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_audio.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_coeff.h
opl3.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
opl3.h
opl3_hw.h
opl3sa2.c fix file specification in comments 2006-10-03 23:01:26 +02:00
os.h [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
pas2.h
pas2_card.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pas2_midi.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_mixer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_pcm.c
pss.c fix file specification in comments 2006-10-03 23:01:26 +02:00
README.FIRST
sb.h
sb_audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sb_card.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
sb_card.h
sb_common.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_ess.c
sb_ess.h
sb_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sequencer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sh_dac_audio.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
sound_calls.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sound_config.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sound_firmware.h
sound_timer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
soundcard.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
soundvers.h
sscape.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
swarm_cs4297a.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
sys_timer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
trident.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
trident.h
trix.c fix file specification in comments 2006-10-03 23:01:26 +02:00
tuning.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
uart401.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
uart6850.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ulaw.h
v_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
v_midi.h
via82cxxx_audio.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
vidc.c [PATCH] misc arm pt_regs fixes 2006-10-08 12:32:36 -07:00
vidc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
vidc_fill.S
vwsnd.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
waveartist.c [PATCH] OSS: replace kmalloc()+memset() combos with kzalloc() 2007-02-14 08:09:54 -08:00
waveartist.h fix file specification in comments 2006-10-03 23:01:26 +02:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox