diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-12-12 11:38:43 +0900 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-06-01 14:48:51 -0400 |
commit | d1f56f318d234fc5db230af2f3e0088f689ab3c0 (patch) | |
tree | 20794afc6ad0c0ce7c823c1e239842bc45c05241 /arch/sh | |
parent | 3125ddc42487307b59e44c405a3282770475150d (diff) | |
download | linux-d1f56f318d234fc5db230af2f3e0088f689ab3c0.tar.bz2 |
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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/lib/delay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/lib/delay.c b/arch/sh/lib/delay.c index dad8e6a54906..540e670dbafc 100644 --- a/arch/sh/lib/delay.c +++ b/arch/sh/lib/delay.c @@ -29,6 +29,7 @@ void __delay(unsigned long loops) : "0" (loops) : "t"); } +EXPORT_SYMBOL(__delay); inline void __const_udelay(unsigned long xloops) { |