aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-28 10:49:33 -0500
committerTakashi Iwai <tiwai@suse.de>2015-01-28 10:49:33 -0500
commit6cbbfe1c8ddb6ac1322a87795dff9d8712c3e359 (patch)
treeb3c6aa438adcfdc4e9505aca81b82d9efe2eae3d /sound
parent37419584abbb3abf3fae6b9eb6869f18c95f6a1d (diff)
ALSA: Include linux/io.h instead of asm/io.h
Nowadays it's recommended. Replace all in a shot. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/aoa/soundbus/i2sbus/control.c2
-rw-r--r--sound/aoa/soundbus/i2sbus/pcm.c2
-rw-r--r--sound/core/memory.c2
-rw-r--r--sound/core/pcm_memory.c2
-rw-r--r--sound/core/pcm_native.c2
-rw-r--r--sound/drivers/mpu401/mpu401_uart.c2
-rw-r--r--sound/drivers/opl3/opl3_lib.c2
-rw-r--r--sound/drivers/opl4/opl4_lib.c2
-rw-r--r--sound/drivers/opl4/opl4_synth.c2
-rw-r--r--sound/drivers/pcsp/pcsp_input.c2
-rw-r--r--sound/drivers/pcsp/pcsp_lib.c2
-rw-r--r--sound/drivers/serial-u16550.c3
-rw-r--r--sound/drivers/vx/vx_core.c2
-rw-r--r--sound/i2c/other/ak4xxx-adda.c2
-rw-r--r--sound/isa/ad1816a/ad1816a_lib.c2
-rw-r--r--sound/isa/azt2320.c2
-rw-r--r--sound/isa/cs423x/cs4236_lib.c2
-rw-r--r--sound/isa/es1688/es1688_lib.c2
-rw-r--r--sound/isa/es18xx.c2
-rw-r--r--sound/isa/opl3sa2.c3
-rw-r--r--sound/isa/opti9xx/miro.c2
-rw-r--r--sound/isa/opti9xx/opti92x-ad1848.c2
-rw-r--r--sound/isa/sb/emu8000.c2
-rw-r--r--sound/isa/sb/sb16_main.c2
-rw-r--r--sound/isa/sb/sb8_main.c2
-rw-r--r--sound/isa/sb/sb8_midi.c2
-rw-r--r--sound/isa/sb/sb_common.c2
-rw-r--r--sound/isa/sb/sb_mixer.c2
-rw-r--r--sound/isa/wavefront/wavefront_fx.c2
-rw-r--r--sound/isa/wavefront/wavefront_midi.c2
-rw-r--r--sound/isa/wavefront/wavefront_synth.c2
-rw-r--r--sound/isa/wss/wss_lib.c2
-rw-r--r--sound/parisc/harmony.c2
-rw-r--r--sound/pci/ad1889.c3
-rw-r--r--sound/pci/ali5451/ali5451.c2
-rw-r--r--sound/pci/als300.c3
-rw-r--r--sound/pci/als4000.c2
-rw-r--r--sound/pci/atiixp.c2
-rw-r--r--sound/pci/atiixp_modem.c2
-rw-r--r--sound/pci/au88x0/au88x0.h2
-rw-r--r--sound/pci/aw2/aw2-saa7146.c2
-rw-r--r--sound/pci/azt3328.c2
-rw-r--r--sound/pci/bt87x.c2
-rw-r--r--sound/pci/ca0106/ca0106_mixer.c2
-rw-r--r--sound/pci/ca0106/ca0106_proc.c2
-rw-r--r--sound/pci/cmipci.c2
-rw-r--r--sound/pci/cs4281.c2
-rw-r--r--sound/pci/cs46xx/cs46xx_lib.c3
-rw-r--r--sound/pci/cs46xx/dsp_spos.c2
-rw-r--r--sound/pci/cs46xx/dsp_spos_scb_lib.c2
-rw-r--r--sound/pci/cs5535audio/cs5535audio.c2
-rw-r--r--sound/pci/echoaudio/darla20.c2
-rw-r--r--sound/pci/echoaudio/darla24.c2
-rw-r--r--sound/pci/echoaudio/echo3g.c2
-rw-r--r--sound/pci/echoaudio/gina20.c2
-rw-r--r--sound/pci/echoaudio/gina24.c2
-rw-r--r--sound/pci/echoaudio/indigo.c2
-rw-r--r--sound/pci/echoaudio/indigodj.c2
-rw-r--r--sound/pci/echoaudio/indigoio.c2
-rw-r--r--sound/pci/echoaudio/layla20.c2
-rw-r--r--sound/pci/echoaudio/layla24.c2
-rw-r--r--sound/pci/echoaudio/mia.c2
-rw-r--r--sound/pci/echoaudio/mona.c2
-rw-r--r--sound/pci/ens1370.c2
-rw-r--r--sound/pci/es1938.c3
-rw-r--r--sound/pci/es1968.c2
-rw-r--r--sound/pci/ice1712/ak4xxx.c2
-rw-r--r--sound/pci/intel8x0.c2
-rw-r--r--sound/pci/intel8x0m.c2
-rw-r--r--sound/pci/korg1212/korg1212.c3
-rw-r--r--sound/pci/maestro3.c2
-rw-r--r--sound/pci/mixart/mixart_core.c2
-rw-r--r--sound/pci/mixart/mixart_hwdep.c2
-rw-r--r--sound/pci/nm256/nm256.c2
-rw-r--r--sound/pci/oxygen/oxygen_io.c2
-rw-r--r--sound/pci/pcxhr/pcxhr_core.c2
-rw-r--r--sound/pci/pcxhr/pcxhr_hwdep.c2
-rw-r--r--sound/pci/riptide/riptide.c2
-rw-r--r--sound/pci/rme32.c3
-rw-r--r--sound/pci/rme96.c3
-rw-r--r--sound/pci/rme9652/hdsp.c2
-rw-r--r--sound/pci/rme9652/hdspm.c2
-rw-r--r--sound/pci/rme9652/rme9652.c2
-rw-r--r--sound/pci/sonicvibes.c3
-rw-r--r--sound/pci/trident/trident_main.c3
-rw-r--r--sound/pci/trident/trident_memory.c2
-rw-r--r--sound/pci/via82xx.c2
-rw-r--r--sound/pci/via82xx_modem.c2
-rw-r--r--sound/pci/vx222/vx222_ops.c2
-rw-r--r--sound/pci/ymfpci/ymfpci_main.c2
-rw-r--r--sound/ppc/awacs.c2
-rw-r--r--sound/ppc/beep.c2
-rw-r--r--sound/ppc/burgundy.c2
-rw-r--r--sound/ppc/pmac.c2
-rw-r--r--sound/ppc/tumbler.c2
-rw-r--r--sound/sh/aica.c2
-rw-r--r--sound/sparc/amd7930.c2
97 files changed, 97 insertions, 108 deletions
diff --git a/sound/aoa/soundbus/i2sbus/control.c b/sound/aoa/soundbus/i2sbus/control.c
index 4dc9b49c02cf..f4495decc699 100644
--- a/sound/aoa/soundbus/i2sbus/control.c
+++ b/sound/aoa/soundbus/i2sbus/control.c
@@ -9,8 +9,8 @@
9#include <linux/kernel.h> 9#include <linux/kernel.h>
10#include <linux/delay.h> 10#include <linux/delay.h>
11#include <linux/slab.h> 11#include <linux/slab.h>
12#include <linux/io.h>
12 13
13#include <asm/io.h>
14#include <asm/prom.h> 14#include <asm/prom.h>
15#include <asm/macio.h> 15#include <asm/macio.h>
16#include <asm/pmac_feature.h> 16#include <asm/pmac_feature.h>
diff --git a/sound/aoa/soundbus/i2sbus/pcm.c b/sound/aoa/soundbus/i2sbus/pcm.c
index 7b74a4ba75f8..4177d9729d0b 100644
--- a/sound/aoa/soundbus/i2sbus/pcm.c
+++ b/sound/aoa/soundbus/i2sbus/pcm.c
@@ -6,7 +6,7 @@
6 * GPL v2, can be found in COPYING. 6 * GPL v2, can be found in COPYING.
7 */ 7 */
8 8
9#include <asm/io.h> 9#include <linux/io.h>
10#include <linux/delay.h> 10#include <linux/delay.h>
11#include <linux/slab.h> 11#include <linux/slab.h>
12#include <sound/core.h> 12#include <sound/core.h>
diff --git a/sound/core/memory.c b/sound/core/memory.c
index 36c0f1a2e189..ca775d7589db 100644
--- a/sound/core/memory.c
+++ b/sound/core/memory.c
@@ -21,7 +21,7 @@
21 */ 21 */
22 22
23#include <linux/export.h> 23#include <linux/export.h>
24#include <asm/io.h> 24#include <linux/io.h>
25#include <asm/uaccess.h> 25#include <asm/uaccess.h>
26#include <sound/core.h> 26#include <sound/core.h>
27 27
diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c
index 54debc07f5cb..b45f6aa32264 100644
--- a/sound/core/pcm_memory.c
+++ b/sound/core/pcm_memory.c
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/time.h> 23#include <linux/time.h>
24#include <linux/init.h> 24#include <linux/init.h>
25#include <linux/slab.h> 25#include <linux/slab.h>
diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c
index ff3abc3b4ff5..932234d87927 100644
--- a/sound/core/pcm_native.c
+++ b/sound/core/pcm_native.c
@@ -26,6 +26,7 @@
26#include <linux/time.h> 26#include <linux/time.h>
27#include <linux/pm_qos.h> 27#include <linux/pm_qos.h>
28#include <linux/aio.h> 28#include <linux/aio.h>
29#include <linux/io.h>
29#include <linux/dma-mapping.h> 30#include <linux/dma-mapping.h>
30#include <sound/core.h> 31#include <sound/core.h>
31#include <sound/control.h> 32#include <sound/control.h>
@@ -34,7 +35,6 @@
34#include <sound/pcm_params.h> 35#include <sound/pcm_params.h>
35#include <sound/timer.h> 36#include <sound/timer.h>
36#include <sound/minors.h> 37#include <sound/minors.h>
37#include <asm/io.h>
38 38
39/* 39/*
40 * Compatibility 40 * Compatibility
diff --git a/sound/drivers/mpu401/mpu401_uart.c b/sound/drivers/mpu401/mpu401_uart.c
index 1e19eb9e1596..776596b5ee05 100644
--- a/sound/drivers/mpu401/mpu401_uart.c
+++ b/sound/drivers/mpu401/mpu401_uart.c
@@ -28,7 +28,7 @@
28 * 28 *
29 */ 29 */
30 30
31#include <asm/io.h> 31#include <linux/io.h>
32#include <linux/delay.h> 32#include <linux/delay.h>
33#include <linux/init.h> 33#include <linux/init.h>
34#include <linux/slab.h> 34#include <linux/slab.h>
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c
index f66af5884c40..369cef212ea9 100644
--- a/sound/drivers/opl3/opl3_lib.c
+++ b/sound/drivers/opl3/opl3_lib.c
@@ -24,7 +24,7 @@
24 */ 24 */
25 25
26#include <sound/opl3.h> 26#include <sound/opl3.h>
27#include <asm/io.h> 27#include <linux/io.h>
28#include <linux/delay.h> 28#include <linux/delay.h>
29#include <linux/module.h> 29#include <linux/module.h>
30#include <linux/init.h> 30#include <linux/init.h>
diff --git a/sound/drivers/opl4/opl4_lib.c b/sound/drivers/opl4/opl4_lib.c
index b953fb4aa298..3b0ee42a5343 100644
--- a/sound/drivers/opl4/opl4_lib.c
+++ b/sound/drivers/opl4/opl4_lib.c
@@ -23,7 +23,7 @@
23#include <linux/slab.h> 23#include <linux/slab.h>
24#include <linux/init.h> 24#include <linux/init.h>
25#include <linux/module.h> 25#include <linux/module.h>
26#include <asm/io.h> 26#include <linux/io.h>
27 27
28MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>"); 28MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
29MODULE_DESCRIPTION("OPL4 driver"); 29MODULE_DESCRIPTION("OPL4 driver");
diff --git a/sound/drivers/opl4/opl4_synth.c b/sound/drivers/opl4/opl4_synth.c
index 4b91adc0238c..7bc1e58c95aa 100644
--- a/sound/drivers/opl4/opl4_synth.c
+++ b/sound/drivers/opl4/opl4_synth.c
@@ -33,7 +33,7 @@
33 33
34#include "opl4_local.h" 34#include "opl4_local.h"
35#include <linux/delay.h> 35#include <linux/delay.h>
36#include <asm/io.h> 36#include <linux/io.h>
37#include <sound/asoundef.h> 37#include <sound/asoundef.h>
38 38
39/* GM2 controllers */ 39/* GM2 controllers */
diff --git a/sound/drivers/pcsp/pcsp_input.c b/sound/drivers/pcsp/pcsp_input.c
index 0ecf8a453e01..bfc25811985f 100644
--- a/sound/drivers/pcsp/pcsp_input.c
+++ b/sound/drivers/pcsp/pcsp_input.c
@@ -14,7 +14,7 @@
14 14
15#include <linux/init.h> 15#include <linux/init.h>
16#include <linux/input.h> 16#include <linux/input.h>
17#include <asm/io.h> 17#include <linux/io.h>
18#include "pcsp.h" 18#include "pcsp.h"
19#include "pcsp_input.h" 19#include "pcsp_input.h"
20 20
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c
index 29ebaa4ec0fd..3689f5f6be64 100644
--- a/sound/drivers/pcsp/pcsp_lib.c
+++ b/sound/drivers/pcsp/pcsp_lib.c
@@ -10,8 +10,8 @@
10#include <linux/gfp.h> 10#include <linux/gfp.h>
11#include <linux/moduleparam.h> 11#include <linux/moduleparam.h>
12#include <linux/interrupt.h> 12#include <linux/interrupt.h>
13#include <linux/io.h>
13#include <sound/pcm.h> 14#include <sound/pcm.h>
14#include <asm/io.h>
15#include "pcsp.h" 15#include "pcsp.h"
16 16
17static bool nforce_wa; 17static bool nforce_wa;
diff --git a/sound/drivers/serial-u16550.c b/sound/drivers/serial-u16550.c
index 8c1dc73e14e4..1927b89e1d1f 100644
--- a/sound/drivers/serial-u16550.c
+++ b/sound/drivers/serial-u16550.c
@@ -37,6 +37,7 @@
37#include <linux/slab.h> 37#include <linux/slab.h>
38#include <linux/ioport.h> 38#include <linux/ioport.h>
39#include <linux/module.h> 39#include <linux/module.h>
40#include <linux/io.h>
40#include <sound/core.h> 41#include <sound/core.h>
41#include <sound/rawmidi.h> 42#include <sound/rawmidi.h>
42#include <sound/initval.h> 43#include <sound/initval.h>
@@ -44,8 +45,6 @@
44#include <linux/serial_reg.h> 45#include <linux/serial_reg.h>
45#include <linux/jiffies.h> 46#include <linux/jiffies.h>
46 47
47#include <asm/io.h>
48
49MODULE_DESCRIPTION("MIDI serial u16550"); 48MODULE_DESCRIPTION("MIDI serial u16550");
50MODULE_LICENSE("GPL"); 49MODULE_LICENSE("GPL");
51MODULE_SUPPORTED_DEVICE("{{ALSA, MIDI serial u16550}}"); 50MODULE_SUPPORTED_DEVICE("{{ALSA, MIDI serial u16550}}");
diff --git a/sound/drivers/vx/vx_core.c b/sound/drivers/vx/vx_core.c
index fc05a37fd017..289f041706cd 100644
--- a/sound/drivers/vx/vx_core.c
+++ b/sound/drivers/vx/vx_core.c
@@ -27,11 +27,11 @@
27#include <linux/device.h> 27#include <linux/device.h>
28#include <linux/firmware.h> 28#include <linux/firmware.h>
29#include <linux/module.h> 29#include <linux/module.h>
30#include <linux/io.h>
30#include <sound/core.h> 31#include <sound/core.h>
31#include <sound/pcm.h> 32#include <sound/pcm.h>
32#include <sound/asoundef.h> 33#include <sound/asoundef.h>
33#include <sound/info.h> 34#include <sound/info.h>
34#include <asm/io.h>
35#include <sound/vx_core.h> 35#include <sound/vx_core.h>
36#include "vx_cmd.h" 36#include "vx_cmd.h"
37 37
diff --git a/sound/i2c/other/ak4xxx-adda.c b/sound/i2c/other/ak4xxx-adda.c
index 67dbfde837ab..c65731088aa2 100644
--- a/sound/i2c/other/ak4xxx-adda.c
+++ b/sound/i2c/other/ak4xxx-adda.c
@@ -21,7 +21,7 @@
21 * 21 *
22 */ 22 */
23 23
24#include <asm/io.h> 24#include <linux/io.h>
25#include <linux/delay.h> 25#include <linux/delay.h>
26#include <linux/interrupt.h> 26#include <linux/interrupt.h>
27#include <linux/init.h> 27#include <linux/init.h>
diff --git a/sound/isa/ad1816a/ad1816a_lib.c b/sound/isa/ad1816a/ad1816a_lib.c
index 5f99102cc0c1..5c815f5fb044 100644
--- a/sound/isa/ad1816a/ad1816a_lib.c
+++ b/sound/isa/ad1816a/ad1816a_lib.c
@@ -22,11 +22,11 @@
22#include <linux/interrupt.h> 22#include <linux/interrupt.h>
23#include <linux/slab.h> 23#include <linux/slab.h>
24#include <linux/ioport.h> 24#include <linux/ioport.h>
25#include <linux/io.h>
25#include <sound/core.h> 26#include <sound/core.h>
26#include <sound/tlv.h> 27#include <sound/tlv.h>
27#include <sound/ad1816a.h> 28#include <sound/ad1816a.h>
28 29
29#include <asm/io.h>
30#include <asm/dma.h> 30#include <asm/dma.h>
31 31
32static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) 32static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip)
diff --git a/sound/isa/azt2320.c b/sound/isa/azt2320.c
index b8e768e5ce80..fff186fa621e 100644
--- a/sound/isa/azt2320.c
+++ b/sound/isa/azt2320.c
@@ -29,7 +29,7 @@
29 activation method (full-duplex audio!). 29 activation method (full-duplex audio!).
30*/ 30*/
31 31
32#include <asm/io.h> 32#include <linux/io.h>
33#include <linux/delay.h> 33#include <linux/delay.h>
34#include <linux/init.h> 34#include <linux/init.h>
35#include <linux/time.h> 35#include <linux/time.h>
diff --git a/sound/isa/cs423x/cs4236_lib.c b/sound/isa/cs423x/cs4236_lib.c
index add7ffc072c5..2b7cc596f4c6 100644
--- a/sound/isa/cs423x/cs4236_lib.c
+++ b/sound/isa/cs423x/cs4236_lib.c
@@ -79,7 +79,7 @@
79 * 79 *
80 */ 80 */
81 81
82#include <asm/io.h> 82#include <linux/io.h>
83#include <linux/delay.h> 83#include <linux/delay.h>
84#include <linux/init.h> 84#include <linux/init.h>
85#include <linux/time.h> 85#include <linux/time.h>
diff --git a/sound/isa/es1688/es1688_lib.c b/sound/isa/es1688/es1688_lib.c
index 52aac8467178..e2cf508841b1 100644
--- a/sound/isa/es1688/es1688_lib.c
+++ b/sound/isa/es1688/es1688_lib.c
@@ -25,11 +25,11 @@
25#include <linux/slab.h> 25#include <linux/slab.h>
26#include <linux/ioport.h> 26#include <linux/ioport.h>
27#include <linux/module.h> 27#include <linux/module.h>
28#include <linux/io.h>
28#include <sound/core.h> 29#include <sound/core.h>
29#include <sound/es1688.h> 30#include <sound/es1688.h>
30#include <sound/initval.h> 31#include <sound/initval.h>
31 32
32#include <asm/io.h>
33#include <asm/dma.h> 33#include <asm/dma.h>
34 34
35MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 35MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index 6cc2d2bbde6a..5094b62d8f77 100644
--- a/sound/isa/es18xx.c
+++ b/sound/isa/es18xx.c
@@ -84,8 +84,8 @@
84#include <linux/isapnp.h> 84#include <linux/isapnp.h>
85#include <linux/module.h> 85#include <linux/module.h>
86#include <linux/delay.h> 86#include <linux/delay.h>
87#include <linux/io.h>
87 88
88#include <asm/io.h>
89#include <asm/dma.h> 89#include <asm/dma.h>
90#include <sound/core.h> 90#include <sound/core.h>
91#include <sound/control.h> 91#include <sound/control.h>
diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c
index d7aff527da88..ae133633a420 100644
--- a/sound/isa/opl3sa2.c
+++ b/sound/isa/opl3sa2.c
@@ -26,6 +26,7 @@
26#include <linux/pm.h> 26#include <linux/pm.h>
27#include <linux/pnp.h> 27#include <linux/pnp.h>
28#include <linux/module.h> 28#include <linux/module.h>
29#include <linux/io.h>
29#include <sound/core.h> 30#include <sound/core.h>
30#include <sound/wss.h> 31#include <sound/wss.h>
31#include <sound/mpu401.h> 32#include <sound/mpu401.h>
@@ -33,8 +34,6 @@
33#include <sound/initval.h> 34#include <sound/initval.h>
34#include <sound/tlv.h> 35#include <sound/tlv.h>
35 36
36#include <asm/io.h>
37
38MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 37MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
39MODULE_DESCRIPTION("Yamaha OPL3SA2+"); 38MODULE_DESCRIPTION("Yamaha OPL3SA2+");
40MODULE_LICENSE("GPL"); 39MODULE_LICENSE("GPL");
diff --git a/sound/isa/opti9xx/miro.c b/sound/isa/opti9xx/miro.c
index 546452888aed..3a9067db1a84 100644
--- a/sound/isa/opti9xx/miro.c
+++ b/sound/isa/opti9xx/miro.c
@@ -29,7 +29,7 @@
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/ioport.h> 30#include <linux/ioport.h>
31#include <linux/module.h> 31#include <linux/module.h>
32#include <asm/io.h> 32#include <linux/io.h>
33#include <asm/dma.h> 33#include <asm/dma.h>
34#include <sound/core.h> 34#include <sound/core.h>
35#include <sound/wss.h> 35#include <sound/wss.h>
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c
index 840831f1dd4e..0a5266003786 100644
--- a/sound/isa/opti9xx/opti92x-ad1848.c
+++ b/sound/isa/opti9xx/opti92x-ad1848.c
@@ -29,7 +29,7 @@
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/pnp.h> 30#include <linux/pnp.h>
31#include <linux/module.h> 31#include <linux/module.h>
32#include <asm/io.h> 32#include <linux/io.h>
33#include <asm/dma.h> 33#include <asm/dma.h>
34#include <sound/core.h> 34#include <sound/core.h>
35#include <sound/tlv.h> 35#include <sound/tlv.h>
diff --git a/sound/isa/sb/emu8000.c b/sound/isa/sb/emu8000.c
index 96e9d94d07e4..1449354a23fe 100644
--- a/sound/isa/sb/emu8000.c
+++ b/sound/isa/sb/emu8000.c
@@ -26,10 +26,10 @@
26#include <linux/ioport.h> 26#include <linux/ioport.h>
27#include <linux/export.h> 27#include <linux/export.h>
28#include <linux/delay.h> 28#include <linux/delay.h>
29#include <linux/io.h>
29#include <sound/core.h> 30#include <sound/core.h>
30#include <sound/emu8000.h> 31#include <sound/emu8000.h>
31#include <sound/emu8000_reg.h> 32#include <sound/emu8000_reg.h>
32#include <asm/io.h>
33#include <asm/uaccess.h> 33#include <asm/uaccess.h>
34#include <linux/init.h> 34#include <linux/init.h>
35#include <sound/control.h> 35#include <sound/control.h>
diff --git a/sound/isa/sb/sb16_main.c b/sound/isa/sb/sb16_main.c
index 63d11b7b9fe8..8b2d6c6bfe97 100644
--- a/sound/isa/sb/sb16_main.c
+++ b/sound/isa/sb/sb16_main.c
@@ -33,7 +33,7 @@
33 * 33 *
34 */ 34 */
35 35
36#include <asm/io.h> 36#include <linux/io.h>
37#include <asm/dma.h> 37#include <asm/dma.h>
38#include <linux/init.h> 38#include <linux/init.h>
39#include <linux/time.h> 39#include <linux/time.h>
diff --git a/sound/isa/sb/sb8_main.c b/sound/isa/sb/sb8_main.c
index d4d8b0e604ee..9043397fe62f 100644
--- a/sound/isa/sb/sb8_main.c
+++ b/sound/isa/sb/sb8_main.c
@@ -30,7 +30,7 @@
30 * Cleaned up and rewrote lowlevel routines. 30 * Cleaned up and rewrote lowlevel routines.
31 */ 31 */
32 32
33#include <asm/io.h> 33#include <linux/io.h>
34#include <asm/dma.h> 34#include <asm/dma.h>
35#include <linux/init.h> 35#include <linux/init.h>
36#include <linux/time.h> 36#include <linux/time.h>
diff --git a/sound/isa/sb/sb8_midi.c b/sound/isa/sb/sb8_midi.c
index 925ea45b3d97..d551c50e549f 100644
--- a/sound/isa/sb/sb8_midi.c
+++ b/sound/isa/sb/sb8_midi.c
@@ -26,7 +26,7 @@
26 * Added full duplex UART mode for DSP version 2.0 and later. 26 * Added full duplex UART mode for DSP version 2.0 and later.
27 */ 27 */
28 28
29#include <asm/io.h> 29#include <linux/io.h>
30#include <linux/time.h> 30#include <linux/time.h>
31#include <sound/core.h> 31#include <sound/core.h>
32#include <sound/sb.h> 32#include <sound/sb.h>
diff --git a/sound/isa/sb/sb_common.c b/sound/isa/sb/sb_common.c
index f22b4480828e..787a4ade4afd 100644
--- a/sound/isa/sb/sb_common.c
+++ b/sound/isa/sb/sb_common.c
@@ -26,11 +26,11 @@
26#include <linux/slab.h> 26#include <linux/slab.h>
27#include <linux/ioport.h> 27#include <linux/ioport.h>
28#include <linux/module.h> 28#include <linux/module.h>
29#include <linux/io.h>
29#include <sound/core.h> 30#include <sound/core.h>
30#include <sound/sb.h> 31#include <sound/sb.h>
31#include <sound/initval.h> 32#include <sound/initval.h>
32 33
33#include <asm/io.h>
34#include <asm/dma.h> 34#include <asm/dma.h>
35 35
36MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 36MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
diff --git a/sound/isa/sb/sb_mixer.c b/sound/isa/sb/sb_mixer.c
index e403334a19ad..add1d3f99609 100644
--- a/sound/isa/sb/sb_mixer.c
+++ b/sound/isa/sb/sb_mixer.c
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/delay.h> 23#include <linux/delay.h>
24#include <linux/time.h> 24#include <linux/time.h>
25#include <sound/core.h> 25#include <sound/core.h>
diff --git a/sound/isa/wavefront/wavefront_fx.c b/sound/isa/wavefront/wavefront_fx.c
index b77883c7ee76..b5a19708473a 100644
--- a/sound/isa/wavefront/wavefront_fx.c
+++ b/sound/isa/wavefront/wavefront_fx.c
@@ -16,7 +16,7 @@
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */ 17 */
18 18
19#include <asm/io.h> 19#include <linux/io.h>
20#include <linux/init.h> 20#include <linux/init.h>
21#include <linux/time.h> 21#include <linux/time.h>
22#include <linux/wait.h> 22#include <linux/wait.h>
diff --git a/sound/isa/wavefront/wavefront_midi.c b/sound/isa/wavefront/wavefront_midi.c
index b8009cbcd34e..8a80fc6a616b 100644
--- a/sound/isa/wavefront/wavefront_midi.c
+++ b/sound/isa/wavefront/wavefront_midi.c
@@ -47,7 +47,7 @@
47 * 47 *
48 */ 48 */
49 49
50#include <asm/io.h> 50#include <linux/io.h>
51#include <linux/init.h> 51#include <linux/init.h>
52#include <linux/time.h> 52#include <linux/time.h>
53#include <linux/wait.h> 53#include <linux/wait.h>
diff --git a/sound/isa/wavefront/wavefront_synth.c b/sound/isa/wavefront/wavefront_synth.c
index e5db001363ee..33f5ec14fcfa 100644
--- a/sound/isa/wavefront/wavefront_synth.c
+++ b/sound/isa/wavefront/wavefront_synth.c
@@ -20,7 +20,7 @@
20 * 20 *
21 */ 21 */
22 22
23#include <asm/io.h> 23#include <linux/io.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/init.h> 25#include <linux/init.h>
26#include <linux/delay.h> 26#include <linux/delay.h>
diff --git a/sound/isa/wss/wss_lib.c b/sound/isa/wss/wss_lib.c
index 6530d32901b9..913b731d2236 100644
--- a/sound/isa/wss/wss_lib.c
+++ b/sound/isa/wss/wss_lib.c
@@ -31,12 +31,12 @@
31#include <linux/slab.h> 31#include <linux/slab.h>
32#include <linux/ioport.h> 32#include <linux/ioport.h>
33#include <linux/module.h> 33#include <linux/module.h>
34#include <linux/io.h>
34#include <sound/core.h> 35#include <sound/core.h>
35#include <sound/wss.h> 36#include <sound/wss.h>
36#include <sound/pcm_params.h> 37#include <sound/pcm_params.h>
37#include <sound/tlv.h> 38#include <sound/tlv.h>
38 39
39#include <asm/io.h>
40#include <asm/dma.h> 40#include <asm/dma.h>
41#include <asm/irq.h> 41#include <asm/irq.h>
42 42
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
index f2350c1d6ee8..99b64cb3cef8 100644
--- a/sound/parisc/harmony.c
+++ b/sound/parisc/harmony.c
@@ -44,6 +44,7 @@
44#include <linux/interrupt.h> 44#include <linux/interrupt.h>
45#include <linux/spinlock.h> 45#include <linux/spinlock.h>
46#include <linux/dma-mapping.h> 46#include <linux/dma-mapping.h>
47#include <linux/io.h>
47 48
48#include <sound/core.h> 49#include <sound/core.h>
49#include <sound/pcm.h> 50#include <sound/pcm.h>
@@ -52,7 +53,6 @@
52#include <sound/initval.h> 53#include <sound/initval.h>
53#include <sound/info.h> 54#include <sound/info.h>
54 55
55#include <asm/io.h>
56#include <asm/hardware.h> 56#include <asm/hardware.h>
57#include <asm/parisc-device.h> 57#include <asm/parisc-device.h>
58 58
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c
index 0de31290411c..850a8c984c25 100644
--- a/sound/pci/ad1889.c
+++ b/sound/pci/ad1889.c
@@ -40,14 +40,13 @@
40#include <linux/compiler.h> 40#include <linux/compiler.h>
41#include <linux/delay.h> 41#include <linux/delay.h>
42#include <linux/module.h> 42#include <linux/module.h>
43#include <linux/io.h>
43 44
44#include <sound/core.h> 45#include <sound/core.h>
45#include <sound/pcm.h> 46#include <sound/pcm.h>
46#include <sound/initval.h> 47#include <sound/initval.h>
47#include <sound/ac97_codec.h> 48#include <sound/ac97_codec.h>
48 49
49#include <asm/io.h>
50
51#include "ad1889.h" 50#include "ad1889.h"
52#include "ac97/ac97_id.h" 51#include "ac97/ac97_id.h"
53 52
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c
index 4cd2210fd95c..c8d499575c01 100644
--- a/sound/pci/ali5451/ali5451.c
+++ b/sound/pci/ali5451/ali5451.c
@@ -25,7 +25,7 @@
25 * 25 *
26 */ 26 */
27 27
28#include <asm/io.h> 28#include <linux/io.h>
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <linux/interrupt.h> 30#include <linux/interrupt.h>
31#include <linux/init.h> 31#include <linux/init.h>
diff --git a/sound/pci/als300.c b/sound/pci/als300.c
index bd01113de39a..57e034f208dc 100644
--- a/sound/pci/als300.c
+++ b/sound/pci/als300.c
@@ -37,8 +37,7 @@
37#include <linux/dma-mapping.h> 37#include <linux/dma-mapping.h>
38#include <linux/interrupt.h> 38#include <linux/interrupt.h>
39#include <linux/slab.h> 39#include <linux/slab.h>
40 40#include <linux/io.h>
41#include <asm/io.h>
42 41
43#include <sound/core.h> 42#include <sound/core.h>
44#include <sound/control.h> 43#include <sound/control.h>
diff --git a/sound/pci/als4000.c b/sound/pci/als4000.c
index 94608524f3cc..a3dea464134d 100644
--- a/sound/pci/als4000.c
+++ b/sound/pci/als4000.c
@@ -65,7 +65,7 @@
65 * - power management? (card can do voice wakeup according to datasheet!!) 65 * - power management? (card can do voice wakeup according to datasheet!!)
66 */ 66 */
67 67
68#include <asm/io.h> 68#include <linux/io.h>
69#include <linux/init.h> 69#include <linux/init.h>
70#include <linux/pci.h> 70#include <linux/pci.h>
71#include <linux/gameport.h> 71#include <linux/gameport.h>
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index eb4f9ee54f85..d5f15c9bbeda 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/delay.h> 23#include <linux/delay.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/init.h> 25#include <linux/init.h>
diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c
index 349dd7ba6e43..0a38e08164ab 100644
--- a/sound/pci/atiixp_modem.c
+++ b/sound/pci/atiixp_modem.c
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/delay.h> 23#include <linux/delay.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/init.h> 25#include <linux/init.h>
diff --git a/sound/pci/au88x0/au88x0.h b/sound/pci/au88x0/au88x0.h
index 3a8fefefea77..98c53bbf8837 100644
--- a/sound/pci/au88x0/au88x0.h
+++ b/sound/pci/au88x0/au88x0.h
@@ -19,7 +19,7 @@
19 19
20#ifdef __KERNEL__ 20#ifdef __KERNEL__
21#include <linux/pci.h> 21#include <linux/pci.h>
22#include <asm/io.h> 22#include <linux/io.h>
23#include <sound/core.h> 23#include <sound/core.h>
24#include <sound/pcm.h> 24#include <sound/pcm.h>
25#include <sound/rawmidi.h> 25#include <sound/rawmidi.h>
diff --git a/sound/pci/aw2/aw2-saa7146.c b/sound/pci/aw2/aw2-saa7146.c
index 6d24e9536777..1d7890459334 100644
--- a/sound/pci/aw2/aw2-saa7146.c
+++ b/sound/pci/aw2/aw2-saa7146.c
@@ -27,7 +27,7 @@
27#include <linux/pci.h> 27#include <linux/pci.h>
28#include <linux/interrupt.h> 28#include <linux/interrupt.h>
29#include <linux/delay.h> 29#include <linux/delay.h>
30#include <asm/io.h> 30#include <linux/io.h>
31#include <sound/core.h> 31#include <sound/core.h>
32#include <sound/initval.h> 32#include <sound/initval.h>
33#include <sound/pcm.h> 33#include <sound/pcm.h>
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index bbacc75c902a..a40a2b4c8fd7 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -179,7 +179,7 @@
179 * - use MMIO (memory-mapped I/O)? Slightly faster access, e.g. for gameport. 179 * - use MMIO (memory-mapped I/O)? Slightly faster access, e.g. for gameport.
180 */ 180 */
181 181
182#include <asm/io.h> 182#include <linux/io.h>
183#include <linux/init.h> 183#include <linux/init.h>
184#include <linux/bug.h> /* WARN_ONCE */ 184#include <linux/bug.h> /* WARN_ONCE */
185#include <linux/pci.h> 185#include <linux/pci.h>
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index e82ceacbe64f..5925b7170e25 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -27,7 +27,7 @@
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include <linux/module.h> 28#include <linux/module.h>
29#include <linux/bitops.h> 29#include <linux/bitops.h>
30#include <asm/io.h> 30#include <linux/io.h>
31#include <sound/core.h> 31#include <sound/core.h>
32#include <sound/pcm.h> 32#include <sound/pcm.h>
33#include <sound/pcm_params.h> 33#include <sound/pcm_params.h>
diff --git a/sound/pci/ca0106/ca0106_mixer.c b/sound/pci/ca0106/ca0106_mixer.c
index 68c0eb0a2807..025805cba779 100644
--- a/sound/pci/ca0106/ca0106_mixer.c
+++ b/sound/pci/ca0106/ca0106_mixer.c
@@ -70,7 +70,7 @@
70#include <sound/ac97_codec.h> 70#include <sound/ac97_codec.h>
71#include <sound/info.h> 71#include <sound/info.h>
72#include <sound/tlv.h> 72#include <sound/tlv.h>
73#include <asm/io.h> 73#include <linux/io.h>
74 74
75#include "ca0106.h" 75#include "ca0106.h"
76 76
diff --git a/sound/pci/ca0106/ca0106_proc.c b/sound/pci/ca0106/ca0106_proc.c
index 4f9c2821bb31..2c5c28adbefd 100644
--- a/sound/pci/ca0106/ca0106_proc.c
+++ b/sound/pci/ca0106/ca0106_proc.c
@@ -64,13 +64,13 @@
64#include <linux/init.h> 64#include <linux/init.h>
65#include <linux/interrupt.h> 65#include <linux/interrupt.h>
66#include <linux/moduleparam.h> 66#include <linux/moduleparam.h>
67#include <linux/io.h>
67#include <sound/core.h> 68#include <sound/core.h>
68#include <sound/initval.h> 69#include <sound/initval.h>
69#include <sound/pcm.h> 70#include <sound/pcm.h>
70#include <sound/ac97_codec.h> 71#include <sound/ac97_codec.h>
71#include <sound/info.h> 72#include <sound/info.h>
72#include <sound/asoundef.h> 73#include <sound/asoundef.h>
73#include <asm/io.h>
74 74
75#include "ca0106.h" 75#include "ca0106.h"
76 76
diff --git a/sound/pci/cmipci.c b/sound/pci/cmipci.c
index 63d2c8236ec6..1d0f2cad2f5a 100644
--- a/sound/pci/cmipci.c
+++ b/sound/pci/cmipci.c
@@ -20,7 +20,7 @@
20/* Does not work. Warning may block system in capture mode */ 20/* Does not work. Warning may block system in capture mode */
21/* #define USE_VAR48KRATE */ 21/* #define USE_VAR48KRATE */
22 22
23#include <asm/io.h> 23#include <linux/io.h>
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <linux/interrupt.h> 25#include <linux/interrupt.h>
26#include <linux/init.h> 26#include <linux/init.h>
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c
index 754613b772ab..c296fd0dbc9c 100644
--- a/sound/pci/cs4281.c
+++ b/sound/pci/cs4281.c
@@ -19,7 +19,7 @@
19 * 19 *
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/delay.h> 23#include <linux/delay.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/init.h> 25#include <linux/init.h>
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c
index fb3abb2203cd..8d74004b1ed2 100644
--- a/sound/pci/cs46xx/cs46xx_lib.c
+++ b/sound/pci/cs46xx/cs46xx_lib.c
@@ -57,6 +57,7 @@
57#include <linux/module.h> 57#include <linux/module.h>
58#include <linux/firmware.h> 58#include <linux/firmware.h>
59#include <linux/vmalloc.h> 59#include <linux/vmalloc.h>
60#include <linux/io.h>
60 61
61#include <sound/core.h> 62#include <sound/core.h>
62#include <sound/control.h> 63#include <sound/control.h>
@@ -65,8 +66,6 @@
65#include <sound/pcm_params.h> 66#include <sound/pcm_params.h>
66#include "cs46xx.h" 67#include "cs46xx.h"
67 68
68#include <asm/io.h>
69
70#include "cs46xx_lib.h" 69#include "cs46xx_lib.h"
71#include "dsp_spos.h" 70#include "dsp_spos.h"
72 71
diff --git a/sound/pci/cs46xx/dsp_spos.c b/sound/pci/cs46xx/dsp_spos.c
index 1c4a0fb3ffef..5c99efb004c0 100644
--- a/sound/pci/cs46xx/dsp_spos.c
+++ b/sound/pci/cs46xx/dsp_spos.c
@@ -20,7 +20,7 @@
20 */ 20 */
21 21
22 22
23#include <asm/io.h> 23#include <linux/io.h>
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <linux/pm.h> 25#include <linux/pm.h>
26#include <linux/init.h> 26#include <linux/init.h>
diff --git a/sound/pci/cs46xx/dsp_spos_scb_lib.c b/sound/pci/cs46xx/dsp_spos_scb_lib.c
index 8284bc9b5858..2c90c0bded69 100644
--- a/sound/pci/cs46xx/dsp_spos_scb_lib.c
+++ b/sound/pci/cs46xx/dsp_spos_scb_lib.c
@@ -21,7 +21,7 @@
21 */ 21 */
22 22
23 23
24#include <asm/io.h> 24#include <linux/io.h>
25#include <linux/delay.h> 25#include <linux/delay.h>
26#include <linux/pm.h> 26#include <linux/pm.h>
27#include <linux/init.h> 27#include <linux/init.h>
diff --git a/sound/pci/cs5535audio/cs5535audio.c b/sound/pci/cs5535audio/cs5535audio.c
index 16288e4d338a..802c33f1cc59 100644
--- a/sound/pci/cs5535audio/cs5535audio.c
+++ b/sound/pci/cs5535audio/cs5535audio.c
@@ -27,7 +27,7 @@
27#include <linux/pci.h> 27#include <linux/pci.h>
28#include <linux/slab.h> 28#include <linux/slab.h>
29#include <linux/module.h> 29#include <linux/module.h>
30#include <asm/io.h> 30#include <linux/io.h>
31#include <sound/core.h> 31#include <sound/core.h>
32#include <sound/control.h> 32#include <sound/control.h>
33#include <sound/pcm.h> 33#include <sound/pcm.h>
diff --git a/sound/pci/echoaudio/darla20.c b/sound/pci/echoaudio/darla20.c
index 4632946205a8..c95da6301677 100644
--- a/sound/pci/echoaudio/darla20.c
+++ b/sound/pci/echoaudio/darla20.c
@@ -43,6 +43,7 @@
43#include <linux/module.h> 43#include <linux/module.h>
44#include <linux/firmware.h> 44#include <linux/firmware.h>
45#include <linux/slab.h> 45#include <linux/slab.h>
46#include <linux/io.h>
46#include <sound/core.h> 47#include <sound/core.h>
47#include <sound/info.h> 48#include <sound/info.h>
48#include <sound/control.h> 49#include <sound/control.h>
@@ -51,7 +52,6 @@
51#include <sound/pcm_params.h> 52#include <sound/pcm_params.h>
52#include <sound/asoundef.h> 53#include <sound/asoundef.h>
53#include <sound/initval.h> 54#include <sound/initval.h>
54#include <asm/io.h>
55#include <linux/atomic.h> 55#include <linux/atomic.h>
56#include "echoaudio.h" 56#include "echoaudio.h"
57 57
diff --git a/sound/pci/echoaudio/darla24.c b/sound/pci/echoaudio/darla24.c
index f81c839cc887..3013b4daa19e 100644
--- a/sound/pci/echoaudio/darla24.c
+++ b/sound/pci/echoaudio/darla24.c
@@ -47,6 +47,7 @@
47#include <linux/module.h> 47#include <linux/module.h>
48#include <linux/firmware.h> 48#include <linux/firmware.h>
49#include <linux/slab.h> 49#include <linux/slab.h>
50#include <linux/io.h>
50#include <sound/core.h> 51#include <sound/core.h>
51#include <sound/info.h> 52#include <sound/info.h>
52#include <sound/control.h> 53#include <sound/control.h>
@@ -55,7 +56,6 @@
55#include <sound/pcm_params.h> 56#include <sound/pcm_params.h>
56#include <sound/asoundef.h> 57#include <sound/asoundef.h>
57#include <sound/initval.h> 58#include <sound/initval.h>
58#include <asm/io.h>
59#include <linux/atomic.h> 59#include <linux/atomic.h>
60#include "echoaudio.h" 60#include "echoaudio.h"
61 61
diff --git a/sound/pci/echoaudio/echo3g.c b/sound/pci/echoaudio/echo3g.c
index 3a5346c33d76..1f34a07b0b19 100644
--- a/sound/pci/echoaudio/echo3g.c
+++ b/sound/pci/echoaudio/echo3g.c
@@ -54,6 +54,7 @@
54#include <linux/module.h> 54#include <linux/module.h>
55#include <linux/firmware.h> 55#include <linux/firmware.h>
56#include <linux/slab.h> 56#include <linux/slab.h>
57#include <linux/io.h>
57#include <sound/core.h> 58#include <sound/core.h>
58#include <sound/info.h> 59#include <sound/info.h>
59#include <sound/control.h> 60#include <sound/control.h>
@@ -63,7 +64,6 @@
63#include <sound/asoundef.h> 64#include <sound/asoundef.h>
64#include <sound/initval.h> 65#include <sound/initval.h>
65#include <sound/rawmidi.h> 66#include <sound/rawmidi.h>
66#include <asm/io.h>
67#include <linux/atomic.h> 67#include <linux/atomic.h>
68#include "echoaudio.h" 68#include "echoaudio.h"
69 69
diff --git a/sound/pci/echoaudio/gina20.c b/sound/pci/echoaudio/gina20.c
index 9cb81c500824..4fa32a2e97db 100644
--- a/sound/pci/echoaudio/gina20.c
+++ b/sound/pci/echoaudio/gina20.c
@@ -47,6 +47,7 @@
47#include <linux/module.h> 47#include <linux/module.h>
48#include <linux/firmware.h> 48#include <linux/firmware.h>
49#include <linux/slab.h> 49#include <linux/slab.h>
50#include <linux/io.h>
50#include <sound/core.h> 51#include <sound/core.h>
51#include <sound/info.h> 52#include <sound/info.h>
52#include <sound/control.h> 53#include <sound/control.h>
@@ -55,7 +56,6 @@
55#include <sound/pcm_params.h> 56#include <sound/pcm_params.h>
56#include <sound/asoundef.h> 57#include <sound/asoundef.h>
57#include <sound/initval.h> 58#include <sound/initval.h>
58#include <asm/io.h>
59#include <linux/atomic.h> 59#include <linux/atomic.h>
60#include "echoaudio.h" 60#include "echoaudio.h"
61 61
diff --git a/sound/pci/echoaudio/gina24.c b/sound/pci/echoaudio/gina24.c
index 35d3e6eac990..b1bcacaef257 100644
--- a/sound/pci/echoaudio/gina24.c
+++ b/sound/pci/echoaudio/gina24.c
@@ -53,6 +53,7 @@
53#include <linux/module.h> 53#include <linux/module.h>
54#include <linux/firmware.h> 54#include <linux/firmware.h>
55#include <linux/slab.h> 55#include <linux/slab.h>
56#include <linux/io.h>
56#include <sound/core.h> 57#include <sound/core.h>
57#include <sound/info.h> 58#include <sound/info.h>
58#include <sound/control.h> 59#include <sound/control.h>
@@ -61,7 +62,6 @@
61#include <sound/pcm_params.h> 62#include <sound/pcm_params.h>
62#include <sound/asoundef.h> 63#include <sound/asoundef.h>
63#include <sound/initval.h> 64#include <sound/initval.h>
64#include <asm/io.h>
65#include <linux/atomic.h> 65#include <linux/atomic.h>
66#include "echoaudio.h" 66#include "echoaudio.h"
67 67
diff --git a/sound/pci/echoaudio/indigo.c b/sound/pci/echoaudio/indigo.c
index 8d91842d1268..175af9b1435f 100644
--- a/sound/pci/echoaudio/indigo.c
+++ b/sound/pci/echoaudio/indigo.c
@@ -45,6 +45,7 @@
45#include <linux/module.h> 45#include <linux/module.h>
46#include <linux/firmware.h> 46#include <linux/firmware.h>
47#include <linux/slab.h> 47#include <linux/slab.h>
48#include <linux/io.h>
48#include <sound/core.h> 49#include <sound/core.h>
49#include <sound/info.h> 50#include <sound/info.h>
50#include <sound/control.h> 51#include <sound/control.h>
@@ -53,7 +54,6 @@
53#include <sound/pcm_params.h> 54#include <sound/pcm_params.h>
54#include <sound/asoundef.h> 55#include <sound/asoundef.h>
55#include <sound/initval.h> 56#include <sound/initval.h>
56#include <asm/io.h>
57#include <linux/atomic.h> 57#include <linux/atomic.h>
58#include "echoaudio.h" 58#include "echoaudio.h"
59 59
diff --git a/sound/pci/echoaudio/indigodj.c b/sound/pci/echoaudio/indigodj.c
index 289cb969f5b9..8c60314e4901 100644
--- a/sound/pci/echoaudio/indigodj.c
+++ b/sound/pci/echoaudio/indigodj.c
@@ -45,6 +45,7 @@
45#include <linux/module.h> 45#include <linux/module.h>
46#include <linux/firmware.h> 46#include <linux/firmware.h>
47#include <linux/slab.h> 47#include <linux/slab.h>
48#include <linux/io.h>
48#include <sound/core.h> 49#include <sound/core.h>
49#include <sound/info.h> 50#include <sound/info.h>
50#include <sound/control.h> 51#include <sound/control.h>
@@ -53,7 +54,6 @@
53#include <sound/pcm_params.h> 54#include <sound/pcm_params.h>
54#include <sound/asoundef.h> 55#include <sound/asoundef.h>
55#include <sound/initval.h> 56#include <sound/initval.h>
56#include <asm/io.h>
57#include <linux/atomic.h> 57#include <linux/atomic.h>
58#include "echoaudio.h" 58#include "echoaudio.h"
59 59
diff --git a/sound/pci/echoaudio/indigoio.c b/sound/pci/echoaudio/indigoio.c
index 405a3f2e496f..f7618edfd79c 100644
--- a/sound/pci/echoaudio/indigoio.c
+++ b/sound/pci/echoaudio/indigoio.c
@@ -46,6 +46,7 @@
46#include <linux/module.h> 46#include <linux/module.h>
47#include <linux/firmware.h> 47#include <linux/firmware.h>
48#include <linux/slab.h> 48#include <linux/slab.h>
49#include <linux/io.h>
49#include <sound/core.h> 50#include <sound/core.h>
50#include <sound/info.h> 51#include <sound/info.h>
51#include <sound/control.h> 52#include <sound/control.h>
@@ -54,7 +55,6 @@
54#include <sound/pcm_params.h> 55#include <sound/pcm_params.h>
55#include <sound/asoundef.h> 56#include <sound/asoundef.h>
56#include <sound/initval.h> 57#include <sound/initval.h>
57#include <asm/io.h>
58#include <linux/atomic.h> 58#include <linux/atomic.h>
59#include "echoaudio.h" 59#include "echoaudio.h"
60 60
diff --git a/sound/pci/echoaudio/layla20.c b/sound/pci/echoaudio/layla20.c
index b392dd776b71..12e5d2164dc4 100644
--- a/sound/pci/echoaudio/layla20.c
+++ b/sound/pci/echoaudio/layla20.c
@@ -52,6 +52,7 @@
52#include <linux/module.h> 52#include <linux/module.h>
53#include <linux/firmware.h> 53#include <linux/firmware.h>
54#include <linux/slab.h> 54#include <linux/slab.h>
55#include <linux/io.h>
55#include <sound/core.h> 56#include <sound/core.h>
56#include <sound/info.h> 57#include <sound/info.h>
57#include <sound/control.h> 58#include <sound/control.h>
@@ -61,7 +62,6 @@
61#include <sound/asoundef.h> 62#include <sound/asoundef.h>
62#include <sound/initval.h> 63#include <sound/initval.h>
63#include <sound/rawmidi.h> 64#include <sound/rawmidi.h>
64#include <asm/io.h>
65#include <linux/atomic.h> 65#include <linux/atomic.h>
66#include "echoaudio.h" 66#include "echoaudio.h"
67 67
diff --git a/sound/pci/echoaudio/layla24.c b/sound/pci/echoaudio/layla24.c
index bc7f730b0ec6..6e4023728ef5 100644
--- a/sound/pci/echoaudio/layla24.c
+++ b/sound/pci/echoaudio/layla24.c
@@ -54,6 +54,7 @@
54#include <linux/module.h> 54#include <linux/module.h>
55#include <linux/firmware.h> 55#include <linux/firmware.h>
56#include <linux/slab.h> 56#include <linux/slab.h>
57#include <linux/io.h>
57#include <sound/core.h> 58#include <sound/core.h>
58#include <sound/info.h> 59#include <sound/info.h>
59#include <sound/control.h> 60#include <sound/control.h>
@@ -63,7 +64,6 @@
63#include <sound/asoundef.h> 64#include <sound/asoundef.h>
64#include <sound/initval.h> 65#include <sound/initval.h>
65#include <sound/rawmidi.h> 66#include <sound/rawmidi.h>
66#include <asm/io.h>
67#include <linux/atomic.h> 67#include <linux/atomic.h>
68#include "echoaudio.h" 68#include "echoaudio.h"
69 69
diff --git a/sound/pci/echoaudio/mia.c b/sound/pci/echoaudio/mia.c
index 27a9a6e5db2d..2f7562f1aefb 100644
--- a/sound/pci/echoaudio/mia.c
+++ b/sound/pci/echoaudio/mia.c
@@ -53,6 +53,7 @@
53#include <linux/module.h> 53#include <linux/module.h>
54#include <linux/firmware.h> 54#include <linux/firmware.h>
55#include <linux/slab.h> 55#include <linux/slab.h>
56#include <linux/io.h>
56#include <sound/core.h> 57#include <sound/core.h>
57#include <sound/info.h> 58#include <sound/info.h>
58#include <sound/control.h> 59#include <sound/control.h>
@@ -62,7 +63,6 @@
62#include <sound/asoundef.h> 63#include <sound/asoundef.h>
63#include <sound/initval.h> 64#include <sound/initval.h>
64#include <sound/rawmidi.h> 65#include <sound/rawmidi.h>
65#include <asm/io.h>
66#include <linux/atomic.h> 66#include <linux/atomic.h>
67#include "echoaudio.h" 67#include "echoaudio.h"
68 68
diff --git a/sound/pci/echoaudio/mona.c b/sound/pci/echoaudio/mona.c
index 3d13875c303d..34d499466393 100644
--- a/sound/pci/echoaudio/mona.c
+++ b/sound/pci/echoaudio/mona.c
@@ -51,6 +51,7 @@
51#include <linux/module.h> 51#include <linux/module.h>
52#include <linux/firmware.h> 52#include <linux/firmware.h>
53#include <linux/slab.h> 53#include <linux/slab.h>
54#include <linux/io.h>
54#include <sound/core.h> 55#include <sound/core.h>
55#include <sound/info.h> 56#include <sound/info.h>
56#include <sound/control.h> 57#include <sound/control.h>
@@ -59,7 +60,6 @@
59#include <sound/pcm_params.h> 60#include <sound/pcm_params.h>
60#include <sound/asoundef.h> 61#include <sound/asoundef.h>
61#include <sound/initval.h> 62#include <sound/initval.h>
62#include <asm/io.h>
63#include <linux/atomic.h> 63#include <linux/atomic.h>
64#include "echoaudio.h" 64#include "echoaudio.h"
65 65
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c
index 219b8af29a49..0dc44ebb0032 100644
--- a/sound/pci/ens1370.c
+++ b/sound/pci/ens1370.c
@@ -26,7 +26,7 @@
26 * by Kurt J. Bosch 26 * by Kurt J. Bosch
27 */ 27 */
28 28
29#include <asm/io.h> 29#include <linux/io.h>
30#include <linux/delay.h> 30#include <linux/delay.h>
31#include <linux/interrupt.h> 31#include <linux/interrupt.h>
32#include <linux/init.h> 32#include <linux/init.h>
diff --git a/sound/pci/es1938.c b/sound/pci/es1938.c
index a01454b545a0..e1858d9d23d8 100644
--- a/sound/pci/es1938.c
+++ b/sound/pci/es1938.c
@@ -55,6 +55,7 @@
55#include <linux/module.h> 55#include <linux/module.h>
56#include <linux/delay.h> 56#include <linux/delay.h>
57#include <linux/dma-mapping.h> 57#include <linux/dma-mapping.h>
58#include <linux/io.h>
58#include <sound/core.h> 59#include <sound/core.h>
59#include <sound/control.h> 60#include <sound/control.h>
60#include <sound/pcm.h> 61#include <sound/pcm.h>
@@ -63,8 +64,6 @@
63#include <sound/initval.h> 64#include <sound/initval.h>
64#include <sound/tlv.h> 65#include <sound/tlv.h>
65 66
66#include <asm/io.h>
67
68MODULE_AUTHOR("Jaromir Koutek <miri@punknet.cz>"); 67MODULE_AUTHOR("Jaromir Koutek <miri@punknet.cz>");
69MODULE_DESCRIPTION("ESS Solo-1"); 68MODULE_DESCRIPTION("ESS Solo-1");
70MODULE_LICENSE("GPL"); 69MODULE_LICENSE("GPL");
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c
index 631be029f8c0..059f3846d7b8 100644
--- a/sound/pci/es1968.c
+++ b/sound/pci/es1968.c
@@ -94,7 +94,7 @@
94 * places. 94 * places.
95 */ 95 */
96 96
97#include <asm/io.h> 97#include <linux/io.h>
98#include <linux/delay.h> 98#include <linux/delay.h>
99#include <linux/interrupt.h> 99#include <linux/interrupt.h>
100#include <linux/init.h> 100#include <linux/init.h>
diff --git a/sound/pci/ice1712/ak4xxx.c b/sound/pci/ice1712/ak4xxx.c
index 3981823f9094..179ef7a5f0d1 100644
--- a/sound/pci/ice1712/ak4xxx.c
+++ b/sound/pci/ice1712/ak4xxx.c
@@ -21,7 +21,7 @@
21 * 21 *
22 */ 22 */
23 23
24#include <asm/io.h> 24#include <linux/io.h>
25#include <linux/delay.h> 25#include <linux/delay.h>
26#include <linux/interrupt.h> 26#include <linux/interrupt.h>
27#include <linux/slab.h> 27#include <linux/slab.h>
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index 67f9e8b77385..2c5484eeb963 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -26,7 +26,7 @@
26 * 26 *
27 */ 27 */
28 28
29#include <asm/io.h> 29#include <linux/io.h>
30#include <linux/delay.h> 30#include <linux/delay.h>
31#include <linux/interrupt.h> 31#include <linux/interrupt.h>
32#include <linux/init.h> 32#include <linux/init.h>
diff --git a/sound/pci/intel8x0m.c b/sound/pci/intel8x0m.c
index 748f6f67c982..7577f31cd504 100644
--- a/sound/pci/intel8x0m.c
+++ b/sound/pci/intel8x0m.c
@@ -23,7 +23,7 @@
23 * 23 *
24 */ 24 */
25 25
26#include <asm/io.h> 26#include <linux/io.h>
27#include <linux/delay.h> 27#include <linux/delay.h>
28#include <linux/interrupt.h> 28#include <linux/interrupt.h>
29#include <linux/init.h> 29#include <linux/init.h>
diff --git a/sound/pci/korg1212/korg1212.c b/sound/pci/korg1212/korg1212.c
index bd569e580277..7acbc21d642a 100644
--- a/sound/pci/korg1212/korg1212.c
+++ b/sound/pci/korg1212/korg1212.c
@@ -28,6 +28,7 @@
28#include <linux/module.h> 28#include <linux/module.h>
29#include <linux/mutex.h> 29#include <linux/mutex.h>
30#include <linux/firmware.h> 30#include <linux/firmware.h>
31#include <linux/io.h>
31 32
32#include <sound/core.h> 33#include <sound/core.h>
33#include <sound/info.h> 34#include <sound/info.h>
@@ -36,8 +37,6 @@
36#include <sound/pcm_params.h> 37#include <sound/pcm_params.h>
37#include <sound/initval.h> 38#include <sound/initval.h>
38 39
39#include <asm/io.h>
40
41// ---------------------------------------------------------------------------- 40// ----------------------------------------------------------------------------
42// Debug Stuff 41// Debug Stuff
43// ---------------------------------------------------------------------------- 42// ----------------------------------------------------------------------------
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index 18a60be63266..9be660993bd0 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -31,7 +31,7 @@
31#define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2" 31#define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2"
32#define DRIVER_NAME "Maestro3" 32#define DRIVER_NAME "Maestro3"
33 33
34#include <asm/io.h> 34#include <linux/io.h>
35#include <linux/delay.h> 35#include <linux/delay.h>
36#include <linux/interrupt.h> 36#include <linux/interrupt.h>
37#include <linux/init.h> 37#include <linux/init.h>
diff --git a/sound/pci/mixart/mixart_core.c b/sound/pci/mixart/mixart_core.c
index fe80313674d9..dccf3db48fe0 100644
--- a/sound/pci/mixart/mixart_core.c
+++ b/sound/pci/mixart/mixart_core.c
@@ -23,8 +23,8 @@
23#include <linux/interrupt.h> 23#include <linux/interrupt.h>
24#include <linux/mutex.h> 24#include <linux/mutex.h>
25#include <linux/pci.h> 25#include <linux/pci.h>
26#include <linux/io.h>
26 27
27#include <asm/io.h>
28#include <sound/core.h> 28#include <sound/core.h>
29#include "mixart.h" 29#include "mixart.h"
30#include "mixart_hwdep.h" 30#include "mixart_hwdep.h"
diff --git a/sound/pci/mixart/mixart_hwdep.c b/sound/pci/mixart/mixart_hwdep.c
index 9996a4dead0f..5bfd3ac80db5 100644
--- a/sound/pci/mixart/mixart_hwdep.c
+++ b/sound/pci/mixart/mixart_hwdep.c
@@ -26,7 +26,7 @@
26#include <linux/vmalloc.h> 26#include <linux/vmalloc.h>
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include <linux/module.h> 28#include <linux/module.h>
29#include <asm/io.h> 29#include <linux/io.h>
30#include <sound/core.h> 30#include <sound/core.h>
31#include "mixart.h" 31#include "mixart.h"
32#include "mixart_mixer.h" 32#include "mixart_mixer.h"
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c
index 90674b93b930..4735e27cc773 100644
--- a/sound/pci/nm256/nm256.c
+++ b/sound/pci/nm256/nm256.c
@@ -24,7 +24,7 @@
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 */ 25 */
26 26
27#include <asm/io.h> 27#include <linux/io.h>
28#include <linux/delay.h> 28#include <linux/delay.h>
29#include <linux/interrupt.h> 29#include <linux/interrupt.h>
30#include <linux/init.h> 30#include <linux/init.h>
diff --git a/sound/pci/oxygen/oxygen_io.c b/sound/pci/oxygen/oxygen_io.c
index 4b8a32c37e31..c7851da37749 100644
--- a/sound/pci/oxygen/oxygen_io.c
+++ b/sound/pci/oxygen/oxygen_io.c
@@ -20,9 +20,9 @@
20#include <linux/delay.h> 20#include <linux/delay.h>
21#include <linux/sched.h> 21#include <linux/sched.h>
22#include <linux/export.h> 22#include <linux/export.h>
23#include <linux/io.h>
23#include <sound/core.h> 24#include <sound/core.h>
24#include <sound/mpu401.h> 25#include <sound/mpu401.h>
25#include <asm/io.h>
26#include "oxygen.h" 26#include "oxygen.h"
27 27
28u8 oxygen_read8(struct oxygen *chip, unsigned int reg) 28u8 oxygen_read8(struct oxygen *chip, unsigned int reg)
diff --git a/sound/pci/pcxhr/pcxhr_core.c b/sound/pci/pcxhr/pcxhr_core.c
index 181f7729d409..c5194f5b150a 100644
--- a/sound/pci/pcxhr/pcxhr_core.c
+++ b/sound/pci/pcxhr/pcxhr_core.c
@@ -24,7 +24,7 @@
24#include <linux/firmware.h> 24#include <linux/firmware.h>
25#include <linux/interrupt.h> 25#include <linux/interrupt.h>
26#include <linux/pci.h> 26#include <linux/pci.h>
27#include <asm/io.h> 27#include <linux/io.h>
28#include <sound/core.h> 28#include <sound/core.h>
29#include "pcxhr.h" 29#include "pcxhr.h"
30#include "pcxhr_mixer.h" 30#include "pcxhr_mixer.h"
diff --git a/sound/pci/pcxhr/pcxhr_hwdep.c b/sound/pci/pcxhr/pcxhr_hwdep.c
index 15a8ce5f1f48..80633055e17e 100644
--- a/sound/pci/pcxhr/pcxhr_hwdep.c
+++ b/sound/pci/pcxhr/pcxhr_hwdep.c
@@ -25,7 +25,7 @@
25#include <linux/firmware.h> 25#include <linux/firmware.h>
26#include <linux/pci.h> 26#include <linux/pci.h>
27#include <linux/module.h> 27#include <linux/module.h>
28#include <asm/io.h> 28#include <linux/io.h>
29#include <sound/core.h> 29#include <sound/core.h>
30#include <sound/hwdep.h> 30#include <sound/hwdep.h>
31#include "pcxhr.h" 31#include "pcxhr.h"
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index a1521047e619..29f28273b2cc 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -99,7 +99,7 @@
99#include <linux/firmware.h> 99#include <linux/firmware.h>
100#include <linux/kernel.h> 100#include <linux/kernel.h>
101#include <linux/module.h> 101#include <linux/module.h>
102#include <asm/io.h> 102#include <linux/io.h>
103#include <sound/core.h> 103#include <sound/core.h>
104#include <sound/info.h> 104#include <sound/info.h>
105#include <sound/control.h> 105#include <sound/control.h>
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c
index 1a7affad7164..23d7f5d30c41 100644
--- a/sound/pci/rme32.c
+++ b/sound/pci/rme32.c
@@ -75,6 +75,7 @@
75#include <linux/interrupt.h> 75#include <linux/interrupt.h>
76#include <linux/pci.h> 76#include <linux/pci.h>
77#include <linux/module.h> 77#include <linux/module.h>
78#include <linux/io.h>
78 79
79#include <sound/core.h> 80#include <sound/core.h>
80#include <sound/info.h> 81#include <sound/info.h>
@@ -85,8 +86,6 @@
85#include <sound/asoundef.h> 86#include <sound/asoundef.h>
86#include <sound/initval.h> 87#include <sound/initval.h>
87 88
88#include <asm/io.h>
89
90static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 89static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
91static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 90static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
92static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ 91static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c
index 236ac1d48184..2306ccf7281e 100644
--- a/sound/pci/rme96.c
+++ b/sound/pci/rme96.c
@@ -29,6 +29,7 @@
29#include <linux/pci.h> 29#include <linux/pci.h>
30#include <linux/module.h> 30#include <linux/module.h>
31#include <linux/vmalloc.h> 31#include <linux/vmalloc.h>
32#include <linux/io.h>
32 33
33#include <sound/core.h> 34#include <sound/core.h>
34#include <sound/info.h> 35#include <sound/info.h>
@@ -38,8 +39,6 @@
38#include <sound/asoundef.h> 39#include <sound/asoundef.h>
39#include <sound/initval.h> 40#include <sound/initval.h>
40 41
41#include <asm/io.h>
42
43/* note, two last pcis should be equal, it is not a bug */ 42/* note, two last pcis should be equal, it is not a bug */
44 43
45MODULE_AUTHOR("Anders Torger <torger@ludd.luth.se>"); 44MODULE_AUTHOR("Anders Torger <torger@ludd.luth.se>");
diff --git a/sound/pci/rme9652/hdsp.c b/sound/pci/rme9652/hdsp.c
index 98a2d911ef17..c19e021ccf66 100644
--- a/sound/pci/rme9652/hdsp.c
+++ b/sound/pci/rme9652/hdsp.c
@@ -29,6 +29,7 @@
29#include <linux/module.h> 29#include <linux/module.h>
30#include <linux/math64.h> 30#include <linux/math64.h>
31#include <linux/vmalloc.h> 31#include <linux/vmalloc.h>
32#include <linux/io.h>
32 33
33#include <sound/core.h> 34#include <sound/core.h>
34#include <sound/control.h> 35#include <sound/control.h>
@@ -42,7 +43,6 @@
42 43
43#include <asm/byteorder.h> 44#include <asm/byteorder.h>
44#include <asm/current.h> 45#include <asm/current.h>
45#include <asm/io.h>
46 46
47static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 47static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 48static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 1716323fed9c..2c363fdca9fd 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -136,7 +136,7 @@
136#include <linux/slab.h> 136#include <linux/slab.h>
137#include <linux/pci.h> 137#include <linux/pci.h>
138#include <linux/math64.h> 138#include <linux/math64.h>
139#include <asm/io.h> 139#include <linux/io.h>
140 140
141#include <sound/core.h> 141#include <sound/core.h>
142#include <sound/control.h> 142#include <sound/control.h>
diff --git a/sound/pci/rme9652/rme9652.c b/sound/pci/rme9652/rme9652.c
index 648911c1a226..fdbc0aa2776a 100644
--- a/sound/pci/rme9652/rme9652.c
+++ b/sound/pci/rme9652/rme9652.c
@@ -25,6 +25,7 @@
25#include <linux/interrupt.h> 25#include <linux/interrupt.h>
26#include <linux/pci.h> 26#include <linux/pci.h>
27#include <linux/module.h> 27#include <linux/module.h>
28#include <linux/io.h>
28 29
29#include <sound/core.h> 30#include <sound/core.h>
30#include <sound/control.h> 31#include <sound/control.h>
@@ -34,7 +35,6 @@
34#include <sound/initval.h> 35#include <sound/initval.h>
35 36
36#include <asm/current.h> 37#include <asm/current.h>
37#include <asm/io.h>
38 38
39static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 39static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
40static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */ 40static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
diff --git a/sound/pci/sonicvibes.c b/sound/pci/sonicvibes.c
index 34cee5c1abd8..0f40624a4275 100644
--- a/sound/pci/sonicvibes.c
+++ b/sound/pci/sonicvibes.c
@@ -30,6 +30,7 @@
30#include <linux/gameport.h> 30#include <linux/gameport.h>
31#include <linux/module.h> 31#include <linux/module.h>
32#include <linux/dma-mapping.h> 32#include <linux/dma-mapping.h>
33#include <linux/io.h>
33 34
34#include <sound/core.h> 35#include <sound/core.h>
35#include <sound/pcm.h> 36#include <sound/pcm.h>
@@ -39,8 +40,6 @@
39#include <sound/opl3.h> 40#include <sound/opl3.h>
40#include <sound/initval.h> 41#include <sound/initval.h>
41 42
42#include <asm/io.h>
43
44MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); 43MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
45MODULE_DESCRIPTION("S3 SonicVibes PCI"); 44MODULE_DESCRIPTION("S3 SonicVibes PCI");
46MODULE_LICENSE("GPL"); 45MODULE_LICENSE("GPL");
diff --git a/sound/pci/trident/trident_main.c b/sound/pci/trident/trident_main.c
index 2870cbf8cee0..b72be035f785 100644
--- a/sound/pci/trident/trident_main.c
+++ b/sound/pci/trident/trident_main.c
@@ -36,6 +36,7 @@
36#include <linux/gameport.h> 36#include <linux/gameport.h>
37#include <linux/dma-mapping.h> 37#include <linux/dma-mapping.h>
38#include <linux/export.h> 38#include <linux/export.h>
39#include <linux/io.h>
39 40
40#include <sound/core.h> 41#include <sound/core.h>
41#include <sound/info.h> 42#include <sound/info.h>
@@ -44,8 +45,6 @@
44#include "trident.h" 45#include "trident.h"
45#include <sound/asoundef.h> 46#include <sound/asoundef.h>
46 47
47#include <asm/io.h>
48
49static int snd_trident_pcm_mixer_build(struct snd_trident *trident, 48static int snd_trident_pcm_mixer_build(struct snd_trident *trident,
50 struct snd_trident_voice * voice, 49 struct snd_trident_voice * voice,
51 struct snd_pcm_substream *substream); 50 struct snd_pcm_substream *substream);
diff --git a/sound/pci/trident/trident_memory.c b/sound/pci/trident/trident_memory.c
index 04c474658e3c..b9ebb51893c5 100644
--- a/sound/pci/trident/trident_memory.c
+++ b/sound/pci/trident/trident_memory.c
@@ -23,7 +23,7 @@
23 * 23 *
24 */ 24 */
25 25
26#include <asm/io.h> 26#include <linux/io.h>
27#include <linux/pci.h> 27#include <linux/pci.h>
28#include <linux/time.h> 28#include <linux/time.h>
29#include <linux/mutex.h> 29#include <linux/mutex.h>
diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c
index 120fccbb2461..8622283e89f3 100644
--- a/sound/pci/via82xx.c
+++ b/sound/pci/via82xx.c
@@ -46,7 +46,7 @@
46 * - Optimize position calculation for the 823x chips. 46 * - Optimize position calculation for the 823x chips.
47 */ 47 */
48 48
49#include <asm/io.h> 49#include <linux/io.h>
50#include <linux/delay.h> 50#include <linux/delay.h>
51#include <linux/interrupt.h> 51#include <linux/interrupt.h>
52#include <linux/init.h> 52#include <linux/init.h>
diff --git a/sound/pci/via82xx_modem.c b/sound/pci/via82xx_modem.c
index 884f49eea495..99b9137bc677 100644
--- a/sound/pci/via82xx_modem.c
+++ b/sound/pci/via82xx_modem.c
@@ -31,7 +31,7 @@
31 * modems. 31 * modems.
32 */ 32 */
33 33
34#include <asm/io.h> 34#include <linux/io.h>
35#include <linux/delay.h> 35#include <linux/delay.h>
36#include <linux/interrupt.h> 36#include <linux/interrupt.h>
37#include <linux/init.h> 37#include <linux/init.h>
diff --git a/sound/pci/vx222/vx222_ops.c b/sound/pci/vx222/vx222_ops.c
index 52c1a8d5b88a..af83b3b38052 100644
--- a/sound/pci/vx222/vx222_ops.c
+++ b/sound/pci/vx222/vx222_ops.c
@@ -24,11 +24,11 @@
24#include <linux/device.h> 24#include <linux/device.h>
25#include <linux/firmware.h> 25#include <linux/firmware.h>
26#include <linux/mutex.h> 26#include <linux/mutex.h>
27#include <linux/io.h>
27 28
28#include <sound/core.h> 29#include <sound/core.h>
29#include <sound/control.h> 30#include <sound/control.h>
30#include <sound/tlv.h> 31#include <sound/tlv.h>
31#include <asm/io.h>
32#include "vx222.h" 32#include "vx222.h"
33 33
34 34
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c
index 227d5c9dfe09..4c26076dbf78 100644
--- a/sound/pci/ymfpci/ymfpci_main.c
+++ b/sound/pci/ymfpci/ymfpci_main.c
@@ -27,6 +27,7 @@
27#include <linux/slab.h> 27#include <linux/slab.h>
28#include <linux/mutex.h> 28#include <linux/mutex.h>
29#include <linux/module.h> 29#include <linux/module.h>
30#include <linux/io.h>
30 31
31#include <sound/core.h> 32#include <sound/core.h>
32#include <sound/control.h> 33#include <sound/control.h>
@@ -36,7 +37,6 @@
36#include <sound/asoundef.h> 37#include <sound/asoundef.h>
37#include <sound/mpu401.h> 38#include <sound/mpu401.h>
38 39
39#include <asm/io.h>
40#include <asm/byteorder.h> 40#include <asm/byteorder.h>
41 41
42/* 42/*
diff --git a/sound/ppc/awacs.c b/sound/ppc/awacs.c
index 5fbf5db2543d..09da7b52bc2e 100644
--- a/sound/ppc/awacs.c
+++ b/sound/ppc/awacs.c
@@ -20,7 +20,7 @@
20 */ 20 */
21 21
22 22
23#include <asm/io.h> 23#include <linux/io.h>
24#include <asm/nvram.h> 24#include <asm/nvram.h>
25#include <linux/init.h> 25#include <linux/init.h>
26#include <linux/delay.h> 26#include <linux/delay.h>
diff --git a/sound/ppc/beep.c b/sound/ppc/beep.c
index 0040f048221f..d3524f9fa05d 100644
--- a/sound/ppc/beep.c
+++ b/sound/ppc/beep.c
@@ -18,7 +18,7 @@
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */ 19 */
20 20
21#include <asm/io.h> 21#include <linux/io.h>
22#include <asm/irq.h> 22#include <asm/irq.h>
23#include <linux/init.h> 23#include <linux/init.h>
24#include <linux/slab.h> 24#include <linux/slab.h>
diff --git a/sound/ppc/burgundy.c b/sound/ppc/burgundy.c
index cb4f0a5e984e..b86159e04493 100644
--- a/sound/ppc/burgundy.c
+++ b/sound/ppc/burgundy.c
@@ -19,7 +19,7 @@
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */ 20 */
21 21
22#include <asm/io.h> 22#include <linux/io.h>
23#include <linux/init.h> 23#include <linux/init.h>
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <sound/core.h> 25#include <sound/core.h>
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c
index d399df473896..13146d701413 100644
--- a/sound/ppc/pmac.c
+++ b/sound/ppc/pmac.c
@@ -20,7 +20,7 @@
20 */ 20 */
21 21
22 22
23#include <asm/io.h> 23#include <linux/io.h>
24#include <asm/irq.h> 24#include <asm/irq.h>
25#include <linux/init.h> 25#include <linux/init.h>
26#include <linux/delay.h> 26#include <linux/delay.h>
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c
index 24c8766a925d..c8fafba218a5 100644
--- a/sound/ppc/tumbler.c
+++ b/sound/ppc/tumbler.c
@@ -32,8 +32,8 @@
32#include <linux/interrupt.h> 32#include <linux/interrupt.h>
33#include <linux/string.h> 33#include <linux/string.h>
34#include <linux/of_irq.h> 34#include <linux/of_irq.h>
35#include <linux/io.h>
35#include <sound/core.h> 36#include <sound/core.h>
36#include <asm/io.h>
37#include <asm/irq.h> 37#include <asm/irq.h>
38#include <asm/machdep.h> 38#include <asm/machdep.h>
39#include <asm/pmac_feature.h> 39#include <asm/pmac_feature.h>
diff --git a/sound/sh/aica.c b/sound/sh/aica.c
index 8212300088fc..ad3d9ae38034 100644
--- a/sound/sh/aica.c
+++ b/sound/sh/aica.c
@@ -35,12 +35,12 @@
35#include <linux/timer.h> 35#include <linux/timer.h>
36#include <linux/delay.h> 36#include <linux/delay.h>
37#include <linux/workqueue.h> 37#include <linux/workqueue.h>
38#include <linux/io.h>
38#include <sound/core.h> 39#include <sound/core.h>
39#include <sound/control.h> 40#include <sound/control.h>
40#include <sound/pcm.h> 41#include <sound/pcm.h>
41#include <sound/initval.h> 42#include <sound/initval.h>
42#include <sound/info.h> 43#include <sound/info.h>
43#include <asm/io.h>
44#include <asm/dma.h> 44#include <asm/dma.h>
45#include <mach/sysasic.h> 45#include <mach/sysasic.h>
46#include "aica.h" 46#include "aica.h"
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 86280d63b76d..1b1a89e80d13 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -37,6 +37,7 @@
37#include <linux/moduleparam.h> 37#include <linux/moduleparam.h>
38#include <linux/of.h> 38#include <linux/of.h>
39#include <linux/of_device.h> 39#include <linux/of_device.h>
40#include <linux/io.h>
40 41
41#include <sound/core.h> 42#include <sound/core.h>
42#include <sound/pcm.h> 43#include <sound/pcm.h>
@@ -44,7 +45,6 @@
44#include <sound/control.h> 45#include <sound/control.h>
45#include <sound/initval.h> 46#include <sound/initval.h>
46 47
47#include <asm/io.h>
48#include <asm/irq.h> 48#include <asm/irq.h>
49#include <asm/prom.h> 49#include <asm/prom.h>
50 50