ALSA: use linux/io.h to fix compile warnings

For helping to reduce Greert's regression list...
  src/sound/drivers/mtpav.c: error: implicit declaration of function 'inb'
  src/sound/drivers/mtpav.c: error: implicit declaration of function 'outb'
  ...

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2011-02-02 17:49:53 +01:00
parent 70f7db11c4
commit ddfb319926
3 changed files with 3 additions and 4 deletions

View File

@ -55,14 +55,13 @@
#include <linux/err.h> #include <linux/err.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/ioport.h> #include <linux/ioport.h>
#include <linux/io.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <sound/core.h> #include <sound/core.h>
#include <sound/initval.h> #include <sound/initval.h>
#include <sound/rawmidi.h> #include <sound/rawmidi.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <asm/io.h>
/* /*
* globals * globals
*/ */

View File

@ -22,7 +22,7 @@
#define __PDAUDIOCF_H #define __PDAUDIOCF_H
#include <sound/pcm.h> #include <sound/pcm.h>
#include <asm/io.h> #include <linux/io.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <pcmcia/cistpl.h> #include <pcmcia/cistpl.h>
#include <pcmcia/ds.h> #include <pcmcia/ds.h>

View File

@ -23,8 +23,8 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/device.h> #include <linux/device.h>
#include <linux/firmware.h> #include <linux/firmware.h>
#include <linux/io.h>
#include <sound/core.h> #include <sound/core.h>
#include <asm/io.h>
#include "vxpocket.h" #include "vxpocket.h"