[linux-yocto] [PATCH 69/70] Corrected definition of __arch_iounmap.

Paul Butler butler.paul at gmail.com
Mon Jun 10 18:46:32 PDT 2013


From: Anders Berg <anders.berg at lsi.com>

Fixed unresolved reference to __iounmap when building modules. Macro
__arch_iounmap must point to an exported symbol.

Signed-off-by: Anders Berg <anders.berg at lsi.com>
---
 arch/arm/mach-axxia/include/mach/io.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-axxia/include/mach/io.h b/arch/arm/mach-axxia/include/mach/io.h
index 40924cd..a4eddd9 100644
--- a/arch/arm/mach-axxia/include/mach/io.h
+++ b/arch/arm/mach-axxia/include/mach/io.h
@@ -34,6 +34,6 @@
 
 void __iomem *__axxia_arch_ioremap(phys_addr_t, size_t, unsigned int);
 #define __arch_ioremap __axxia_arch_ioremap
-#define __arch_iounmap __iounmap
+#define __arch_iounmap __arm_iounmap
 
 #endif
-- 
1.8.3




More information about the linux-yocto mailing list