Skip to content

Commit

Permalink
ALSA: use linux/io.h to fix compile warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Takashi Iwai committed Feb 2, 2011
1 parent 70f7db1 commit ddfb319
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sound/drivers/mtpav.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,13 @@
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/ioport.h>
#include <linux/io.h>
#include <linux/moduleparam.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/rawmidi.h>
#include <linux/delay.h>

#include <asm/io.h>

/*
* globals
*/
Expand Down
2 changes: 1 addition & 1 deletion sound/pcmcia/pdaudiocf/pdaudiocf.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#define __PDAUDIOCF_H

#include <sound/pcm.h>
#include <asm/io.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
Expand Down
2 changes: 1 addition & 1 deletion sound/pcmcia/vx/vxp_ops.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/io.h>
#include <sound/core.h>
#include <asm/io.h>
#include "vxpocket.h"


Expand Down

0 comments on commit ddfb319

Please sign in to comment.