diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 17:36:47 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-10-01 17:36:47 +0900 |
commit | 749c84966c990092da20203a80e0749b614c79a6 (patch) | |
tree | 372b967a397d636f3cf6937a644d56660ffbfbe2 /arch/sh64/mm | |
parent | 6b3d7f02a180af0d711d259adb4eccde1c3f10cd (diff) | |
download | talos-op-linux-749c84966c990092da20203a80e0749b614c79a6.tar.gz talos-op-linux-749c84966c990092da20203a80e0749b614c79a6.zip |
sh64: Some symbol exports and build fixes.
This fixes up misc build issues that were hit on the non-cayman
boards. Additionally, quite a few symbols needed to be exported
to fix the module build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64/mm')
-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 @@ #include <linux/sched.h> #include <linux/string.h> #include <linux/io.h> -#include <asm/pgalloc.h> -#include <asm/tlbflush.h> #include <linux/ioport.h> #include <linux/bootmem.h> #include <linux/proc_fs.h> +#include <linux/module.h> +#include <asm/pgalloc.h> +#include <asm/tlbflush.h> static void shmedia_mapioaddr(unsigned long, unsigned long); 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 } return (void *) (offset + (char *)addr); } +EXPORT_SYMBOL(__ioremap); void iounmap(void *addr) { @@ -94,6 +96,7 @@ void iounmap(void *addr) kfree(area); } +EXPORT_SYMBOL(iounmap); static struct resource shmedia_iomap = { .name = "shmedia_iomap", |