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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Rich Felker <dalias@libc.org>
This commit is contained in:
Kuninori Morimoto 2019-12-12 11:38:43 +09:00 committed by Rich Felker
parent 3125ddc424
commit d1f56f318d
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ void __delay(unsigned long loops)
: "0" (loops)
: "t");
}
EXPORT_SYMBOL(__delay);
inline void __const_udelay(unsigned long xloops)
{