]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
openrisc: Export ioremap symbols used by modules
authorStafford Horne <shorne@gmail.com>
Sun, 5 Feb 2017 06:32:26 +0000 (15:32 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 24 Feb 2017 20:08:47 +0000 (05:08 +0900)
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>
arch/openrisc/mm/ioremap.c

index 8705a46218f9273263a0678db7647b1925edf4b7..2175e4bfd9fc0a28e80df5dca135493ec3728720 100644 (file)
@@ -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