diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-09-24 06:01:15 (GMT) |
---|---|---|
committer | Hirokazu Takata <takata@linux-m32r.org> | 2008-09-27 09:27:21 (GMT) |
commit | 4b65fd41807dec1484003a7618c492477511509e (patch) | |
tree | ee8433c3005356269b3bd1cf4d46265699ce18da /arch/m32r/lib/delay.c | |
parent | affa6b120fa895e2bed0e131282fe89c05da1008 (diff) | |
download | linux-fsl-qoriq-4b65fd41807dec1484003a7618c492477511509e.tar.xz |
m32r: export __ndelay
ERROR: "__ndelay" [drivers/spi/spi_bitbang.ko] undefined!
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Diffstat (limited to 'arch/m32r/lib/delay.c')
-rw-r--r-- | arch/m32r/lib/delay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m32r/lib/delay.c b/arch/m32r/lib/delay.c index 59bfc34..ced549b 100644 --- a/arch/m32r/lib/delay.c +++ b/arch/m32r/lib/delay.c @@ -6,6 +6,7 @@ */ #include <linux/param.h> +#include <linux/module.h> #ifdef CONFIG_SMP #include <linux/sched.h> #include <asm/current.h> @@ -121,3 +122,4 @@ void __ndelay(unsigned long nsecs) { __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ } +EXPORT_SYMBOL(__ndelay); |