lib/ioremap.c should #include <linux/io.h>
PATCH 1/1 lib/ioremap.c should #include <linux/io.h>
Every file should include the headers containing the prototypes for its global functions.
Signed-off-by Adrian Bunk <[email protected]>
---
lib/ioremap.c renamed from lib/ioremap.c.old +1 -0
@@ -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>
Quoted 4 lines · On Fri, 6 Jul 2007 01:22:28 +0200 Adrian Bunk <[email protected]> wrote:
Every file should include the headers containing the prototypes for its global functions.
Signed-off-by Adrian Bunk <[email protected]>
Can't argue with that.
Quoted 12 lines
---
lib/ioremap.c renamed from lib/ioremap.c.old +1
-0@@ -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>