ALSA: sscape: add missing include of linux/io.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 28 Jan 2015 15:04:46 +0000 (16:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Jan 2015 15:27:46 +0000 (16:27 +0100)
The soundscape driver uses the ISA inb/outb functions declared
in linux/io.h, so it needs to include this header to avoid
a build error:

sscape.c: In function 'sscape_write_unsafe':
sscape.c:203:2: error: implicit declaration of function 'outb' [-Werror=implicit-function-declaration]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/sscape.c

index 018ab14..7b248cd 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/init.h>
 #include <linux/err.h>
+#include <linux/io.h>
 #include <linux/isa.h>
 #include <linux/delay.h>
 #include <linux/firmware.h>