aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Konovalov <andrey.konovalov@linaro.org>2012-01-23 21:06:26 +0400
committerAndrey Konovalov <andrey.konovalov@linaro.org>2012-02-16 17:21:52 +0400
commite6a723587b8e2839499cfc1fa9db637a586bfac3 (patch)
tree58d58597ee9d5dfd98843d06f035368fc7eb4c6b
parentac1598c101faa55562051932fb9134f8a002a777 (diff)
Get rid of "ERROR: "omap_bus_sync" undefined!" when building modules
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
-rw-r--r--arch/arm/mach-omap2/omap4-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index 55418ac90ee..d060591aabe 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -16,6 +16,7 @@
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/memblock.h>
+#include <linux/module.h>
#include <asm/hardware/gic.h>
#include <asm/hardware/cache-l2x0.h>
@@ -51,6 +52,7 @@ void omap_bus_sync(void)
isb();
}
}
+EXPORT_SYMBOL(omap_bus_sync);
int __init omap_barriers_init(void)
{