diff options
Diffstat (limited to 'arch/sh64/mm/ioremap.c')
-rw-r--r-- | arch/sh64/mm/ioremap.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh64/mm/ioremap.c b/arch/sh64/mm/ioremap.c index 990857756d44..535304e6601f 100644 --- a/arch/sh64/mm/ioremap.c +++ b/arch/sh64/mm/ioremap.c | |||
@@ -19,11 +19,12 @@ | |||
19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
20 | #include <linux/string.h> | 20 | #include <linux/string.h> |
21 | #include <linux/io.h> | 21 | #include <linux/io.h> |
22 | #include <asm/pgalloc.h> | ||
23 | #include <asm/tlbflush.h> | ||
24 | #include <linux/ioport.h> | 22 | #include <linux/ioport.h> |
25 | #include <linux/bootmem.h> | 23 | #include <linux/bootmem.h> |
26 | #include <linux/proc_fs.h> | 24 | #include <linux/proc_fs.h> |
25 | #include <linux/module.h> | ||
26 | #include <asm/pgalloc.h> | ||
27 | #include <asm/tlbflush.h> | ||
27 | 28 | ||
28 | static void shmedia_mapioaddr(unsigned long, unsigned long); | 29 | static void shmedia_mapioaddr(unsigned long, unsigned long); |
29 | static unsigned long shmedia_ioremap(struct resource *, u32, int); | 30 | static unsigned long shmedia_ioremap(struct resource *, u32, int); |
@@ -80,6 +81,7 @@ void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flag | |||
80 | } | 81 | } |
81 | return (void *) (offset + (char *)addr); | 82 | return (void *) (offset + (char *)addr); |
82 | } | 83 | } |
84 | EXPORT_SYMBOL(__ioremap); | ||
83 | 85 | ||
84 | void iounmap(void *addr) | 86 | void iounmap(void *addr) |
85 | { | 87 | { |
@@ -94,6 +96,7 @@ void iounmap(void *addr) | |||
94 | 96 | ||
95 | kfree(area); | 97 | kfree(area); |
96 | } | 98 | } |
99 | EXPORT_SYMBOL(iounmap); | ||
97 | 100 | ||
98 | static struct resource shmedia_iomap = { | 101 | static struct resource shmedia_iomap = { |
99 | .name = "shmedia_iomap", | 102 | .name = "shmedia_iomap", |