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 <[email protected]>
> > ---
> > 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 <[email protected]>
---
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 -- [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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]