From: Adrian Bunk Date: Wed, 24 Sep 2008 06:01:15 +0000 (+0900) Subject: m32r: export __ndelay X-Git-Tag: v2.6.27-rc8~5^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=4b65fd41807dec1484003a7618c492477511509e;p=linux-2.6-omap-h63xx.git m32r: export __ndelay ERROR: "__ndelay" [drivers/spi/spi_bitbang.ko] undefined! Reported-by: Adrian Bunk Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Hirokazu Takata --- diff --git a/arch/m32r/lib/delay.c b/arch/m32r/lib/delay.c index 59bfc34e0d9..ced549be80f 100644 --- a/arch/m32r/lib/delay.c +++ b/arch/m32r/lib/delay.c @@ -6,6 +6,7 @@ */ #include +#include #ifdef CONFIG_SMP #include #include @@ -121,3 +122,4 @@ void __ndelay(unsigned long nsecs) { __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ } +EXPORT_SYMBOL(__ndelay);