m68k: <asm/scatterlist.h> needs <asm/types.h>
PATCH 1/1 m68k: <asm/scatterlist.h> needs <asm/types.h>
The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h needs to include <asm/types.h>
--- include/asm-m68k/scatterlist.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-m68k/scatterlist.h +2 -0
@@ -1,6 +1,8 @@ #ifndef _M68K_SCATTERLIST_H #define _M68K_SCATTERLIST_H +#include <asm/types.h> + struct scatterlist { struct page *page; unsigned int offset;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Hi,
Quoted 11 lines · Geert Uytterhoeven
The recent <
linux/pci.h> cleanup uncovered thatinclude/asm-m68k/scatterlist.hneeds to include <asm/types.h>Signed-off-by Geert Uytterhoeven <[email protected]>--- include/asm-m68k/scatterlist.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-m68k/scatterlist.h line 5
Quoted 5 lines
include/asm-m68k/scatterlist.h +2
-0@@ -1,6 +1,8 @@#ifndef _M68K_SCATTERLIST_H#define _M68K_SCATTERLIST_H +#include <asm/types.h> +
Unless required otherwise please use <linux/types.h>
bye, Roman
Quoted 15 lines · Roman Zippel
Quoted 14 lines · Geert Uytterhoeven
The recent <
linux/pci.h> cleanup uncovered thatinclude/asm-m68k/scatterlist.hneeds to include <asm/types.h>Signed-off-by Geert Uytterhoeven <[email protected]>--- include/asm-m68k/scatterlist.h | 2 ++ 1 file changed, 2 insertions(+)include/asm-m68k/scatterlist.h +0
-0@@ -1,6 +1,8 @@#ifndef _M68K_SCATTERLIST_H#define _M68K_SCATTERLIST_H
Quoted 4 lines
include/asm-m68k/scatterlist.h line 5
Quoted 2 lines
include/asm-m68k/scatterlist.h +2
-0+#include <asm/types.h> +Unless required otherwise please use <
linux/types.h>
Fine for me! I just mimicked asm-i386/scatterlist.h.
Subject: [PATCH] m68k: <asm/scatterlist.h> needs <linux/types.h>
The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h needs to include <linux/types.h>
--- include/asm-m68k/scatterlist.h | 2 ++ 1 file changed, 2 insertions(+)
include/asm-m68k/scatterlist.h +2 -0
@@ -1,6 +1,8 @@ #ifndef _M68K_SCATTERLIST_H #define _M68K_SCATTERLIST_H +#include <linux/types.h> + struct scatterlist { struct page *page; unsigned int offset;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds