Skip to content

Commit 25b69a8

Browse files
tititiou36paulburton
authored andcommitted
mips: Loongson: Fix the link time qualifier of 'serial_exit()'
'exit' functions should be marked as __exit, not __init. Fixes: 85cc028 ("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]
1 parent bd848d1 commit 25b69a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/loongson64/common/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ static int __init serial_init(void)
110110
}
111111
module_init(serial_init);
112112

113-
static void __init serial_exit(void)
113+
static void __exit serial_exit(void)
114114
{
115115
platform_device_unregister(&uart8250_device);
116116
}

0 commit comments

Comments
 (0)