Skip to contentSkip to conversation

lib/ioremap.c should #include <linux/io.h>

PATCH In review Adrian Bunk 2 participants 2 messages Jul 5, 2007 – Jul 6, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/ioremap.c should #include <linux/io.h>

Every file should include the headers containing the prototypes for its global functions.

---

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>
 
Acked-by on v1 1/1
#1 lore raw
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.

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>