]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
m32r: export __ndelay
authorAdrian Bunk <bunk@kernel.org>
Wed, 24 Sep 2008 06:01:15 +0000 (15:01 +0900)
committerHirokazu Takata <takata@linux-m32r.org>
Sat, 27 Sep 2008 09:27:21 +0000 (18:27 +0900)
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>
arch/m32r/lib/delay.c

index 59bfc34e0d9f8aa86ded52d4145592af889aec1f..ced549be80f5e9055528918394caaeca6d04270f 100644 (file)
@@ -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);