projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd848d1
)
mips: Loongson: Fix the link time qualifier of 'serial_exit()'
author
Christophe JAILLET
<
[email protected]
>
Tue, 10 Sep 2019 03:59:07 +0000
(
05:59
+0200)
committer
Paul Burton
<
[email protected]
>
Wed, 2 Oct 2019 21:16:32 +0000
(14:16 -0700)
'exit' functions should be marked as __exit, not __init.
Fixes: 85cc028817ef ("mips: make loongsoon serial driver explicitly modular")
Signed-off-by: Christophe JAILLET <
[email protected]
>
Signed-off-by: Paul Burton <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
arch/mips/loongson64/common/serial.c
patch
|
blob
|
history
diff --git
a/arch/mips/loongson64/common/serial.c
b/arch/mips/loongson64/common/serial.c
index ffefc1cb26121e7b653b64b661b267cac4b4e1cd..98c3a7feb10f8b2391c968661e5e76c8d6c2770e 100644
(file)
--- a/
arch/mips/loongson64/common/serial.c
+++ b/
arch/mips/loongson64/common/serial.c
@@
-110,7
+110,7
@@
static int __init serial_init(void)
}
module_init(serial_init);
-static void __
in
it serial_exit(void)
+static void __
ex
it serial_exit(void)
{
platform_device_unregister(&uart8250_device);
}