diff options
author | Stafford Horne <shorne@gmail.com> | 2017-02-05 01:32:26 -0500 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-02-24 15:08:47 -0500 |
commit | a0eba4f7ebcdf81da0a4480d8fc514af4f76579e (patch) | |
tree | cae115311eff90260cee585835c7bdd4854bf5ea /arch/openrisc | |
parent | e34f671d1cf8a032a8cd248a12eef217f1789c4c (diff) |
openrisc: Export ioremap symbols used by modules
Noticed this when building with allyesconfig. Got build failures due
to iounmap and __ioremap symbols missing. This patch exports them so
modules can use them. This is inline with other architectures.
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc')
-rw-r--r-- | arch/openrisc/mm/ioremap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/mm/ioremap.c b/arch/openrisc/mm/ioremap.c index 8705a46218f9..2175e4bfd9fc 100644 --- a/arch/openrisc/mm/ioremap.c +++ b/arch/openrisc/mm/ioremap.c | |||
@@ -80,6 +80,7 @@ __ioremap(phys_addr_t addr, unsigned long size, pgprot_t prot) | |||
80 | 80 | ||
81 | return (void __iomem *)(offset + (char *)v); | 81 | return (void __iomem *)(offset + (char *)v); |
82 | } | 82 | } |
83 | EXPORT_SYMBOL(__ioremap); | ||
83 | 84 | ||
84 | void iounmap(void *addr) | 85 | void iounmap(void *addr) |
85 | { | 86 | { |
@@ -106,6 +107,7 @@ void iounmap(void *addr) | |||
106 | 107 | ||
107 | return vfree((void *)(PAGE_MASK & (unsigned long)addr)); | 108 | return vfree((void *)(PAGE_MASK & (unsigned long)addr)); |
108 | } | 109 | } |
110 | EXPORT_SYMBOL(iounmap); | ||
109 | 111 | ||
110 | /** | 112 | /** |
111 | * OK, this one's a bit tricky... ioremap can get called before memory is | 113 | * OK, this one's a bit tricky... ioremap can get called before memory is |