m68k/atari - stram: Add missing #include <linux/ioport.h>
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 14 Aug 2014 07:25:38 +0000 (09:25 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 14 Sep 2014 09:51:35 +0000 (11:51 +0200)
If CONFIG_BLOCK=n:

arch/m68k/atari/stram.c:44: error: variable ‘stram_pool’ has initializer but incomplete type
arch/m68k/atari/stram.c:45: error: unknown field ‘name’ specified in initializer
arch/m68k/atari/stram.c:46: warning: excess elements in struct initializer
arch/m68k/atari/stram.c:46: warning: (near initialization for ‘stram_pool’)
arch/m68k/atari/stram.c: In function ‘atari_stram_reserve_pages’:
arch/m68k/atari/stram.c:97: error: invalid use of undefined type ‘struct resource’
...

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/atari/stram.c

index 5f8cb5a234d934fdd1f0377dbb62cd8a21475b09..c83d66442612e0747f58ebe8d12e5b07065b7e20 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/mount.h>
 #include <linux/blkdev.h>
 #include <linux/module.h>
+#include <linux/ioport.h>
 
 #include <asm/setup.h>
 #include <asm/machdep.h>