提交 a0eba4f7 编写于 作者: S Stafford Horne

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: NStafford Horne <shorne@gmail.com>
上级 e34f671d
...@@ -80,6 +80,7 @@ __ioremap(phys_addr_t addr, unsigned long size, pgprot_t prot) ...@@ -80,6 +80,7 @@ __ioremap(phys_addr_t addr, unsigned long size, pgprot_t prot)
return (void __iomem *)(offset + (char *)v); return (void __iomem *)(offset + (char *)v);
} }
EXPORT_SYMBOL(__ioremap);
void iounmap(void *addr) void iounmap(void *addr)
{ {
...@@ -106,6 +107,7 @@ void iounmap(void *addr) ...@@ -106,6 +107,7 @@ void iounmap(void *addr)
return vfree((void *)(PAGE_MASK & (unsigned long)addr)); return vfree((void *)(PAGE_MASK & (unsigned long)addr));
} }
EXPORT_SYMBOL(iounmap);
/** /**
* OK, this one's a bit tricky... ioremap can get called before memory is * OK, this one's a bit tricky... ioremap can get called before memory is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册