summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-16 23:26:42 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:42:50 -0700
commit53fa6645251727856d3554d64583fef59e6f1651 (patch)
tree1738d1cc31f60d0afcafc271852671d921669516
parentc1206a2c6d87def4af5379e6fef64e928d882ab2 (diff)
downloadlinux-stable-53fa6645251727856d3554d64583fef59e6f1651.tar.gz
linux-stable-53fa6645251727856d3554d64583fef59e6f1651.tar.bz2
linux-stable-53fa6645251727856d3554d64583fef59e6f1651.zip
lib/ioremap.c should #include <linux/io.h>
Every file should include the headers containing the prototypes for its global functions (in this case ioremap_page_range()). Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--lib/ioremap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ioremap.c b/lib/ioremap.c
index 760521417b69..14c6078f17a2 100644
--- a/lib/ioremap.c
+++ b/lib/ioremap.c
@@ -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>