From: Stafford Horne Date: Sun, 5 Feb 2017 06:32:26 +0000 (+0900) Subject: openrisc: Export ioremap symbols used by modules X-Git-Tag: v4.11-rc1~78^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a0eba4f7ebcdf81da0a4480d8fc514af4f76579e;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/arch/openrisc/mm/ioremap.c b/arch/openrisc/mm/ioremap.c index 8705a46218f92..2175e4bfd9fc0 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) return (void __iomem *)(offset + (char *)v); } +EXPORT_SYMBOL(__ioremap); void iounmap(void *addr) { @@ -106,6 +107,7 @@ void iounmap(void *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