28 Jan
2015
28 Jan
'15
3:54 p.m.
The soundscape driver uses the ISA inb/outb functions declared in asm/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
diff --git a/sound/isa/sscape.c b/sound/isa/sscape.c index 018ab140c2be..7b248cdf06e2 100644 --- a/sound/isa/sscape.c +++ b/sound/isa/sscape.c @@ -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>