mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
tty: serial: rda: Fix the link time qualifier of 'rda_uart_exit()'
'exit' functions should be marked as __exit, not __init.
Fixes: c10b13325c ("tty: serial: Add RDA8810PL UART driver")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
6264dab6ef
commit
5080d12712
1 changed files with 1 additions and 1 deletions
|
|
@ -815,7 +815,7 @@ static int __init rda_uart_init(void)
|
|||
return ret;
|
||||
}
|
||||
|
||||
static void __init rda_uart_exit(void)
|
||||
static void __exit rda_uart_exit(void)
|
||||
{
|
||||
platform_driver_unregister(&rda_uart_platform_driver);
|
||||
uart_unregister_driver(&rda_uart_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue