Skip to contentSkip to conversation

m68k: <asm/scatterlist.h> needs <asm/types.h>

PATCH In review Geert Uytterhoeven 2 participants 3 messages May 6, 2007 – May 7, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 11 lines · Geert Uytterhoeven

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 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

#2 lore raw
Quoted 15 lines · Roman Zippel
Quoted 14 lines · Geert Uytterhoeven

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 +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