diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-12-12 03:38:43 +0100 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-06-01 20:48:51 +0200 |
commit | d1f56f318d234fc5db230af2f3e0088f689ab3c0 (patch) | |
tree | 20794afc6ad0c0ce7c823c1e239842bc45c05241 /arch | |
parent | sh: Convert ins[bwl]/outs[bwl] macros to inline functions (diff) | |
download | linux-d1f56f318d234fc5db230af2f3e0088f689ab3c0.tar.xz linux-d1f56f318d234fc5db230af2f3e0088f689ab3c0.zip |
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')
-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) { |