Commit 4b65fd41 authored by Adrian Bunk's avatar Adrian Bunk Committed by Hirokazu Takata

m32r: export __ndelay

ERROR: "__ndelay" [drivers/spi/spi_bitbang.ko] undefined!
Reported-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarHirokazu Takata <takata@linux-m32r.org>
parent affa6b12
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
*/ */
#include <linux/param.h> #include <linux/param.h>
#include <linux/module.h>
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
#include <linux/sched.h> #include <linux/sched.h>
#include <asm/current.h> #include <asm/current.h>
...@@ -121,3 +122,4 @@ void __ndelay(unsigned long nsecs) ...@@ -121,3 +122,4 @@ void __ndelay(unsigned long nsecs)
{ {
__const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */
} }
EXPORT_SYMBOL(__ndelay);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment