Commit d1f56f31 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Rich Felker

sh: add missing EXPORT_SYMBOL() for __delay

__delay() is used from kernel module.
We need EXPORT_SYMBOL(), otherwise we will get compile error.

ERROR: "__delay" [drivers/net/phy/mdio-cavium.ko] undefined!
Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent 3125ddc4
...@@ -29,6 +29,7 @@ void __delay(unsigned long loops) ...@@ -29,6 +29,7 @@ void __delay(unsigned long loops)
: "0" (loops) : "0" (loops)
: "t"); : "t");
} }
EXPORT_SYMBOL(__delay);
inline void __const_udelay(unsigned long xloops) inline void __const_udelay(unsigned long xloops)
{ {
......
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