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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Haavard Skinnemoen <hskinnemoen@...>
Cc: <linux-kernel@...>
Date: Thursday, July 5, 2007 - 7:22 pm

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

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---
--- 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>
 

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] lib/ioremap.c should #include <linux/io.h>, Adrian Bunk, (Thu Jul 5, 7:22 pm)