projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3125ddc
)
sh: add missing EXPORT_SYMBOL() for __delay
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 12 Dec 2019 02:38:43 +0000
(11:38 +0900)
committer
Rich Felker
<dalias@libc.org>
Mon, 1 Jun 2020 18:48:51 +0000
(14:48 -0400)
__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>
arch/sh/lib/delay.c
patch
|
blob
|
history
diff --git
a/arch/sh/lib/delay.c
b/arch/sh/lib/delay.c
index
dad8e6a
..
540e670
100644
(file)
--- 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)
{