Re: [PATCH] m68k: <asm/scatterlist.h> needs <asm/types.h>

From: Geert Uytterhoeven
Date: Mon May 07 2007 - 04:50:04 EST


On Sun, 6 May 2007, Roman Zippel wrote:
> On Sun, 6 May 2007, Geert Uytterhoeven wrote:
> > The recent <linux/pci.h> cleanup uncovered that include/asm-m68k/scatterlist.h
> > needs to include <asm/types.h>
> >
> > Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> > ---
> > include/asm-m68k/scatterlist.h | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > --- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
> > +++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
> > @@ -1,6 +1,8 @@
> > #ifndef _M68K_SCATTERLIST_H
> > #define _M68K_SCATTERLIST_H
> >
> > +#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>

Signed-off-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
---
include/asm-m68k/scatterlist.h | 2 ++
1 file changed, 2 insertions(+)

--- linux-m68k-2.6.21.orig/include/asm-m68k/scatterlist.h
+++ linux-m68k-2.6.21/include/asm-m68k/scatterlist.h
@@ -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 -- geert@xxxxxxxxxxxxxx

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/