Geert Uytterhoeven
2014-08-29 16:13:20 UTC
If CONFIG_BLOCK=3Dn:
arch/m68k/atari/stram.c:44: error: variable =E2=80=98stram_pool=E2=80=99=
has initializer but incomplete type
arch/m68k/atari/stram.c:45: error: unknown field =E2=80=98name=E2=80=99=
specified in initializer
arch/m68k/atari/stram.c:46: warning: excess elements in struct initiali=
zer
arch/m68k/atari/stram.c:46: warning: (near initialization for =E2=80=98=
stram_pool=E2=80=99)
arch/m68k/atari/stram.c: In function =E2=80=98atari_stram_reserve_pages=
=E2=80=99:
arch/m68k/atari/stram.c:97: error: invalid use of undefined type =E2=80=
=98struct resource=E2=80=99
=2E..
Signed-off-by: Geert Uytterhoeven <***@linux-m68k.org>
---
arch/m68k/atari/stram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/m68k/atari/stram.c b/arch/m68k/atari/stram.c
index 5f8cb5a234d9..c83d66442612 100644
--- a/arch/m68k/atari/stram.c
+++ b/arch/m68k/atari/stram.c
@@ -21,6 +21,7 @@
#include <linux/mount.h>
#include <linux/blkdev.h>
#include <linux/module.h>
+#include <linux/ioport.h>
=20
#include <asm/setup.h>
#include <asm/machdep.h>
--=20
1.9.1
arch/m68k/atari/stram.c:44: error: variable =E2=80=98stram_pool=E2=80=99=
has initializer but incomplete type
arch/m68k/atari/stram.c:45: error: unknown field =E2=80=98name=E2=80=99=
specified in initializer
arch/m68k/atari/stram.c:46: warning: excess elements in struct initiali=
zer
arch/m68k/atari/stram.c:46: warning: (near initialization for =E2=80=98=
stram_pool=E2=80=99)
arch/m68k/atari/stram.c: In function =E2=80=98atari_stram_reserve_pages=
=E2=80=99:
arch/m68k/atari/stram.c:97: error: invalid use of undefined type =E2=80=
=98struct resource=E2=80=99
=2E..
Signed-off-by: Geert Uytterhoeven <***@linux-m68k.org>
---
arch/m68k/atari/stram.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/m68k/atari/stram.c b/arch/m68k/atari/stram.c
index 5f8cb5a234d9..c83d66442612 100644
--- a/arch/m68k/atari/stram.c
+++ b/arch/m68k/atari/stram.c
@@ -21,6 +21,7 @@
#include <linux/mount.h>
#include <linux/blkdev.h>
#include <linux/module.h>
+#include <linux/ioport.h>
=20
#include <asm/setup.h>
#include <asm/machdep.h>
--=20
1.9.1