diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-28 10:49:33 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 10:49:33 -0500 |
commit | 6cbbfe1c8ddb6ac1322a87795dff9d8712c3e359 (patch) | |
tree | b3c6aa438adcfdc4e9505aca81b82d9efe2eae3d /sound/isa | |
parent | 37419584abbb3abf3fae6b9eb6869f18c95f6a1d (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/isa')
-rw-r--r-- | sound/isa/ad1816a/ad1816a_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/azt2320.c | 2 | ||||
-rw-r--r-- | sound/isa/cs423x/cs4236_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/es1688/es1688_lib.c | 2 | ||||
-rw-r--r-- | sound/isa/es18xx.c | 2 | ||||
-rw-r--r-- | sound/isa/opl3sa2.c | 3 | ||||
-rw-r--r-- | sound/isa/opti9xx/miro.c | 2 | ||||
-rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/emu8000.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb16_main.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb8_main.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb8_midi.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb_common.c | 2 | ||||
-rw-r--r-- | sound/isa/sb/sb_mixer.c | 2 | ||||
-rw-r--r-- | sound/isa/wavefront/wavefront_fx.c | 2 | ||||
-rw-r--r-- | sound/isa/wavefront/wavefront_midi.c | 2 | ||||
-rw-r--r-- | sound/isa/wavefront/wavefront_synth.c | 2 | ||||
-rw-r--r-- | sound/isa/wss/wss_lib.c | 2 |
18 files changed, 18 insertions, 19 deletions
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 | ||
32 | static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip) | 32 | static 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 | ||
35 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); | 35 | MODULE_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 | |||
38 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); | 37 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); |
39 | MODULE_DESCRIPTION("Yamaha OPL3SA2+"); | 38 | MODULE_DESCRIPTION("Yamaha OPL3SA2+"); |
40 | MODULE_LICENSE("GPL"); | 39 | MODULE_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 | ||
36 | MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>"); | 36 | MODULE_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 | ||