diff options
author | morimoto <kuninori.morimoto.gx@renesas.com> | 2020-07-17 16:01:04 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2020-07-17 20:31:26 +1000 |
commit | 39eea6d7709c2453f30043fb264bce88ebac5f1c (patch) | |
tree | 03029f98cf82995e7e4edd9ffe516e2933067e2b | |
parent | 3468c2cb2e35ad55426a9dcde30be4416659db81 (diff) | |
download | linux-39eea6d7709c2453f30043fb264bce88ebac5f1c.tar.gz linux-39eea6d7709c2453f30043fb264bce88ebac5f1c.tar.xz |
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!
Link: https://marc.info/?l=linux-kernel&m=157611811927852
Signed-off-by: morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Alan Modra <amodra@gmail.com>
Cc: Bin Meng <bin.meng@windriver.com>
Cc: Chen Zhou <chenzhou10@huawei.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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 540e670dbafc..cccab21f3e56 100644 --- a/arch/sh/lib/delay.c +++ b/arch/sh/lib/delay.c @@ -42,6 +42,7 @@ inline void __const_udelay(unsigned long xloops) : "macl", "mach"); __delay(++xloops); } +EXPORT_SYMBOL(__delay); void __udelay(unsigned long usecs) { |