Re: [2.6 patch] lib/ioremap.c should #include <linux/io.h>

From: Haavard Skinnemoen
Date: Fri Jul 06 2007 - 03:41:22 EST


On Fri, 6 Jul 2007 01:22:28 +0200
Adrian Bunk <bunk@xxxxxxxxx> wrote:

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

Can't argue with that.

Acked-by: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx>

> ---
> --- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/