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 018ab140c2beb298ff073b4b76830acecf72ba3f..7b248cdf06e2166d82dfc69ea318247fc8eca6f7 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>