Patchwork [2/2] ARM: imx: export imx_ioremap to allow modules to use ioremap

login
register
mail settings
Submitter Uwe Kleine-König
Date Nov. 22, 2011, 9:07 a.m.
Message ID <1321952847-3178-2-git-send-email-u.kleine-koenig@pengutronix.de>
Download mbox | patch
Permalink /patch/127023/
State New
Headers show

Comments

Uwe Kleine-König - Nov. 22, 2011, 9:07 a.m.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/arm/plat-mxc/system.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c
index 80de9e2..85d5da8 100644
--- a/arch/arm/plat-mxc/system.c
+++ b/arch/arm/plat-mxc/system.c
@@ -17,6 +17,7 @@ 
  */
 
 #include <linux/kernel.h>
+#include <linux/export.h>
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/err.h>
@@ -30,6 +31,7 @@ 
 
 void (*imx_idle)(void) = NULL;
 void __iomem *(*imx_ioremap)(unsigned long, size_t, unsigned int) = NULL;
+EXPORT_SYMBOL(imx_ioremap);
 
 static void __iomem *wdog_base;