Nowadays it's recommended. Replace all in a shot. Signed-off-by: Takashi Iwai <tiwai@suse.de>
@@ -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 -------------------- */
@@ -27,7 +27,7 @@
#include <sound/timer.h>
#include <sound/seq_midi_emul.h>
#include <sound/seq_device.h>
/* IO ports */
@@ -25,7 +25,7 @@
#include <sound/pcm.h>
#include <sound/rawmidi.h>
enum sb_hw_type {
SB_HW_AUTO,
@@ -9,8 +9,8 @@
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <asm/prom.h>
#include <asm/macio.h>
#include <asm/pmac_feature.h>
@@ -6,7 +6,7 @@
* GPL v2, can be found in COPYING.
*/
#include <sound/core.h>
@@ -21,7 +21,7 @@
#include <linux/export.h>
#include <asm/uaccess.h>
@@ -19,7 +19,7 @@
*
#include <linux/time.h>
#include <linux/init.h>
@@ -26,6 +26,7 @@
#include <linux/pm_qos.h>
#include <linux/aio.h>
#include <linux/dma-mapping.h>
#include <sound/control.h>
@@ -34,7 +35,6 @@
#include <sound/pcm_params.h>
#include <sound/minors.h>
/*
* Compatibility
@@ -28,7 +28,7 @@
@@ -24,7 +24,7 @@
#include <sound/opl3.h>
#include <linux/module.h>
@@ -23,7 +23,7 @@
MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
MODULE_DESCRIPTION("OPL4 driver");
@@ -33,7 +33,7 @@
#include "opl4_local.h"
#include <sound/asoundef.h>
/* GM2 controllers */
@@ -14,7 +14,7 @@
#include <linux/input.h>
#include "pcsp.h"
#include "pcsp_input.h"
@@ -10,8 +10,8 @@
#include <linux/gfp.h>
#include <linux/moduleparam.h>
static bool nforce_wa;
@@ -37,6 +37,7 @@
#include <linux/ioport.h>
#include <sound/initval.h>
@@ -44,8 +45,6 @@
#include <linux/serial_reg.h>
#include <linux/jiffies.h>
-
MODULE_DESCRIPTION("MIDI serial u16550");
MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{ALSA, MIDI serial u16550}}");
@@ -27,11 +27,11 @@
#include <linux/device.h>
#include <sound/info.h>
#include <sound/vx_core.h>
#include "vx_cmd.h"
@@ -22,11 +22,11 @@
#include <sound/tlv.h>
#include <sound/ad1816a.h>
#include <asm/dma.h>
static inline int snd_ad1816a_busy_wait(struct snd_ad1816a *chip)
@@ -29,7 +29,7 @@
activation method (full-duplex audio!).
@@ -79,7 +79,7 @@
@@ -25,11 +25,11 @@
#include <sound/es1688.h>
MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
@@ -84,8 +84,8 @@
#include <linux/isapnp.h>
#include <linux/pm.h>
#include <linux/pnp.h>
#include <sound/wss.h>
#include <sound/mpu401.h>
@@ -33,8 +34,6 @@
MODULE_DESCRIPTION("Yamaha OPL3SA2+");
@@ -26,10 +26,10 @@
#include <sound/emu8000.h>
#include <sound/emu8000_reg.h>
@@ -30,7 +30,7 @@
* Cleaned up and rewrote lowlevel routines.
@@ -26,7 +26,7 @@
* Added full duplex UART mode for DSP version 2.0 and later.
#include <sound/sb.h>
@@ -26,11 +26,11 @@
@@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#include <linux/wait.h>
@@ -47,7 +47,7 @@
@@ -20,7 +20,7 @@
@@ -31,12 +31,12 @@
#include <asm/irq.h>
@@ -44,6 +44,7 @@
#include <linux/spinlock.h>
@@ -52,7 +53,6 @@
#include <asm/hardware.h>
#include <asm/parisc-device.h>
@@ -40,14 +40,13 @@
#include <linux/compiler.h>
#include <sound/ac97_codec.h>
#include "ad1889.h"
#include "ac97/ac97_id.h"
@@ -37,8 +37,7 @@
@@ -65,7 +65,7 @@
* - power management? (card can do voice wakeup according to datasheet!!)
#include <linux/pci.h>
#include <linux/gameport.h>
#ifdef __KERNEL__
@@ -179,7 +179,7 @@
* - use MMIO (memory-mapped I/O)? Slightly faster access, e.g. for gameport.
#include <linux/bug.h> /* WARN_ONCE */
#include <linux/bitops.h>
@@ -70,7 +70,7 @@
#include "ca0106.h"
@@ -64,13 +64,13 @@
/* Does not work. Warning may block system in capture mode */
/* #define USE_VAR48KRATE */
@@ -57,6 +57,7 @@
#include <linux/vmalloc.h>
@@ -65,8 +66,6 @@
#include "cs46xx.h"
#include "cs46xx_lib.h"
#include "dsp_spos.h"
@@ -43,6 +43,7 @@
@@ -51,7 +52,6 @@
#include <linux/atomic.h>
#include "echoaudio.h"
@@ -47,6 +47,7 @@
@@ -55,7 +56,6 @@
@@ -54,6 +54,7 @@
@@ -63,7 +64,6 @@
@@ -53,6 +53,7 @@
@@ -61,7 +62,6 @@
@@ -45,6 +45,7 @@
@@ -53,7 +54,6 @@
@@ -46,6 +46,7 @@
@@ -54,7 +55,6 @@
@@ -52,6 +52,7 @@
@@ -62,7 +63,6 @@
@@ -51,6 +51,7 @@
@@ -59,7 +60,6 @@
* by Kurt J. Bosch
@@ -55,6 +55,7 @@
@@ -63,8 +64,6 @@
MODULE_AUTHOR("Jaromir Koutek <miri@punknet.cz>");
MODULE_DESCRIPTION("ESS Solo-1");
@@ -94,7 +94,7 @@
* places.
@@ -28,6 +28,7 @@
@@ -36,8 +37,6 @@
// ----------------------------------------------------------------------------
// Debug Stuff
@@ -31,7 +31,7 @@
#define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2"
#define DRIVER_NAME "Maestro3"
@@ -23,8 +23,8 @@
#include "mixart.h"
#include "mixart_hwdep.h"
#include "mixart_mixer.h"
@@ -20,9 +20,9 @@
#include <linux/sched.h>
#include "oxygen.h"
u8 oxygen_read8(struct oxygen *chip, unsigned int reg)
#include "pcxhr.h"
#include "pcxhr_mixer.h"
#include <sound/hwdep.h>
@@ -99,7 +99,7 @@
@@ -75,6 +75,7 @@
@@ -85,8 +86,6 @@
static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
static char *id[SNDRV_CARDS] = SNDRV_DEFAULT_STR; /* ID for this card */
static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */
@@ -29,6 +29,7 @@
@@ -38,8 +39,6 @@
/* note, two last pcis should be equal, it is not a bug */
MODULE_AUTHOR("Anders Torger <torger@ludd.luth.se>");
#include <linux/math64.h>
@@ -42,7 +43,6 @@
#include <asm/byteorder.h>
#include <asm/current.h>
@@ -136,7 +136,7 @@
@@ -25,6 +25,7 @@
@@ -30,6 +30,7 @@
@@ -39,8 +40,6 @@
MODULE_DESCRIPTION("S3 SonicVibes PCI");
@@ -36,6 +36,7 @@
#include "trident.h"
static int snd_trident_pcm_mixer_build(struct snd_trident *trident,
struct snd_trident_voice * voice,
struct snd_pcm_substream *substream);
@@ -46,7 +46,7 @@
* - Optimize position calculation for the 823x chips.
* modems.
@@ -24,11 +24,11 @@
#include "vx222.h"
@@ -27,6 +27,7 @@
@@ -36,7 +37,6 @@
#include <asm/nvram.h>
@@ -18,7 +18,7 @@
@@ -32,8 +32,8 @@
#include <linux/string.h>
#include <linux/of_irq.h>
#include <asm/machdep.h>
@@ -35,12 +35,12 @@
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <mach/sysasic.h>
#include "aica.h"
#include <linux/of.h>
#include <linux/of_device.h>
@@ -44,7 +45,6 @@