lkml.org 
[lkml]   [2007]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.6 patch] lib/ioremap.c should #include <linux/io.h>
On Fri, 6 Jul 2007 01:22:28 +0200
Adrian Bunk <bunk@stusta.de> wrote:

> Every file should include the headers containing the prototypes for
> its global functions.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>

Can't argue with that.

Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>

> ---
> --- linux-2.6.22-rc6-mm1/lib/ioremap.c.old 2007-07-03 05:02:10.000000000 +0200
> +++ linux-2.6.22-rc6-mm1/lib/ioremap.c 2007-07-03 05:02:22.000000000 +0200
> @@ -8,6 +8,7 @@
> #include <linux/vmalloc.h>
> #include <linux/mm.h>
> #include <linux/sched.h>
> +#include <linux/io.h>
> #include <asm/cacheflush.h>
> #include <asm/pgtable.h>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-06 11:03    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site