Skip to content

Commit

Permalink
ALSA: Include linux/io.h instead of asm/io.h
Browse files Browse the repository at this point in the history
Nowadays it's recommended.  Replace all in a shot.

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Jan 28, 2015
1 parent 3741958 commit 6cbbfe1
Show file tree
Hide file tree
Showing 100 changed files with 100 additions and 111 deletions.
2 changes: 1 addition & 1 deletion include/sound/emu10k1.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/firmware.h>
#include <linux/io.h>

#include <asm/io.h>
#include <uapi/sound/emu10k1.h>

/* ------------------- DEFINES -------------------- */
Expand Down
2 changes: 1 addition & 1 deletion include/sound/gus.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <sound/timer.h>
#include <sound/seq_midi_emul.h>
#include <sound/seq_device.h>
#include <asm/io.h>
#include <linux/io.h>

/* IO ports */

Expand Down
2 changes: 1 addition & 1 deletion include/sound/sb.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <sound/pcm.h>
#include <sound/rawmidi.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include <linux/io.h>

enum sb_hw_type {
SB_HW_AUTO,
Expand Down
2 changes: 1 addition & 1 deletion sound/aoa/soundbus/i2sbus/control.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/io.h>

#include <asm/io.h>
#include <asm/prom.h>
#include <asm/macio.h>
#include <asm/pmac_feature.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/aoa/soundbus/i2sbus/pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* GPL v2, can be found in COPYING.
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <sound/core.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/core/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

#include <linux/export.h>
#include <asm/io.h>
#include <linux/io.h>
#include <asm/uaccess.h>
#include <sound/core.h>

Expand Down
2 changes: 1 addition & 1 deletion sound/core/pcm_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/time.h>
#include <linux/init.h>
#include <linux/slab.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/core/pcm_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <linux/time.h>
#include <linux/pm_qos.h>
#include <linux/aio.h>
#include <linux/io.h>
#include <linux/dma-mapping.h>
#include <sound/core.h>
#include <sound/control.h>
Expand All @@ -34,7 +35,6 @@
#include <sound/pcm_params.h>
#include <sound/timer.h>
#include <sound/minors.h>
#include <asm/io.h>

/*
* Compatibility
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/mpu401/mpu401_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/slab.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/opl3/opl3_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

#include <sound/opl3.h>
#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/init.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/opl4/opl4_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/io.h>
#include <linux/io.h>

MODULE_AUTHOR("Clemens Ladisch <[email protected]>");
MODULE_DESCRIPTION("OPL4 driver");
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/opl4/opl4_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

#include "opl4_local.h"
#include <linux/delay.h>
#include <asm/io.h>
#include <linux/io.h>
#include <sound/asoundef.h>

/* GM2 controllers */
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/pcsp/pcsp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <linux/init.h>
#include <linux/input.h>
#include <asm/io.h>
#include <linux/io.h>
#include "pcsp.h"
#include "pcsp_input.h"

Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/pcsp/pcsp_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <linux/gfp.h>
#include <linux/moduleparam.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <sound/pcm.h>
#include <asm/io.h>
#include "pcsp.h"

static bool nforce_wa;
Expand Down
3 changes: 1 addition & 2 deletions sound/drivers/serial-u16550.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,14 @@
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/rawmidi.h>
#include <sound/initval.h>

#include <linux/serial_reg.h>
#include <linux/jiffies.h>

#include <asm/io.h>

MODULE_DESCRIPTION("MIDI serial u16550");
MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{ALSA, MIDI serial u16550}}");
Expand Down
2 changes: 1 addition & 1 deletion sound/drivers/vx/vx_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/asoundef.h>
#include <sound/info.h>
#include <asm/io.h>
#include <sound/vx_core.h>
#include "vx_cmd.h"

Expand Down
2 changes: 1 addition & 1 deletion sound/i2c/other/ak4xxx-adda.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/init.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/ad1816a/ad1816a_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
#include <linux/interrupt.h>
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/tlv.h>
#include <sound/ad1816a.h>

#include <asm/io.h>
#include <asm/dma.h>

static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip)
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/azt2320.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
activation method (full-duplex audio!).
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/time.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/cs423x/cs4236_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/time.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/es1688/es1688_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/es1688.h>
#include <sound/initval.h>

#include <asm/io.h>
#include <asm/dma.h>

MODULE_AUTHOR("Jaroslav Kysela <[email protected]>");
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/es18xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
#include <linux/isapnp.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/io.h>

#include <asm/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/control.h>
Expand Down
3 changes: 1 addition & 2 deletions sound/isa/opl3sa2.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@
#include <linux/pm.h>
#include <linux/pnp.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
#include <sound/opl3.h>
#include <sound/initval.h>
#include <sound/tlv.h>

#include <asm/io.h>

MODULE_AUTHOR("Jaroslav Kysela <[email protected]>");
MODULE_DESCRIPTION("Yamaha OPL3SA2+");
MODULE_LICENSE("GPL");
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/opti9xx/miro.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <linux/delay.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <asm/io.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/wss.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/opti9xx/opti92x-ad1848.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <linux/delay.h>
#include <linux/pnp.h>
#include <linux/module.h>
#include <asm/io.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <sound/core.h>
#include <sound/tlv.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/emu8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
#include <linux/ioport.h>
#include <linux/export.h>
#include <linux/delay.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/emu8000.h>
#include <sound/emu8000_reg.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <linux/init.h>
#include <sound/control.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/sb16_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <linux/init.h>
#include <linux/time.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/sb8_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* Cleaned up and rewrote lowlevel routines.
*/

#include <asm/io.h>
#include <linux/io.h>
#include <asm/dma.h>
#include <linux/init.h>
#include <linux/time.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/sb8_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* Added full duplex UART mode for DSP version 2.0 and later.
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/time.h>
#include <sound/core.h>
#include <sound/sb.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/sb_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/sb.h>
#include <sound/initval.h>

#include <asm/io.h>
#include <asm/dma.h>

MODULE_AUTHOR("Jaroslav Kysela <[email protected]>");
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/sb/sb_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/time.h>
#include <sound/core.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/wavefront/wavefront_fx.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/wait.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/wavefront/wavefront_midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/wait.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/wavefront/wavefront_synth.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/

#include <asm/io.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/delay.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/isa/wss/wss_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
#include <linux/slab.h>
#include <linux/ioport.h>
#include <linux/module.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/wss.h>
#include <sound/pcm_params.h>
#include <sound/tlv.h>

#include <asm/io.h>
#include <asm/dma.h>
#include <asm/irq.h>

Expand Down
2 changes: 1 addition & 1 deletion sound/parisc/harmony.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/dma-mapping.h>
#include <linux/io.h>

#include <sound/core.h>
#include <sound/pcm.h>
Expand All @@ -52,7 +53,6 @@
#include <sound/initval.h>
#include <sound/info.h>

#include <asm/io.h>
#include <asm/hardware.h>
#include <asm/parisc-device.h>

Expand Down
3 changes: 1 addition & 2 deletions sound/pci/ad1889.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,13 @@
#include <linux/compiler.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/io.h>

#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/initval.h>
#include <sound/ac97_codec.h>

#include <asm/io.h>

#include "ad1889.h"
#include "ac97/ac97_id.h"

Expand Down
Loading

0 comments on commit 6cbbfe1

Please sign in to comment.