1
0
Fork 0

tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'

'exit' functions should be marked as __exit, not __init.

Fixes: fc60a8b675 ("tty: serial: owl: Implement console driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20190910041129.6978-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
alistair/sunxi64-5.4-dsi
Christophe JAILLET 2019-09-10 06:11:29 +02:00 committed by Greg Kroah-Hartman
parent 54ecb8f702
commit 6264dab6ef
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ static int __init owl_uart_init(void)
return ret;
}
static void __init owl_uart_exit(void)
static void __exit owl_uart_exit(void)
{
platform_driver_unregister(&owl_uart_platform_driver);
uart_unregister_driver(&owl_uart_driver);