mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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:
parent
3125ddc424
commit
d1f56f318d
@ -29,6 +29,7 @@ void __delay(unsigned long loops)
|
||||
: "0" (loops)
|
||||
: "t");
|
||||
}
|
||||
EXPORT_SYMBOL(__delay);
|
||||
|
||||
inline void __const_udelay(unsigned long xloops)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user