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

Message ID
State Mainlined
Commit 6264dab6efd6069f0387efb078a9960b5642377b
Headers show
  • tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
Related show

Commit Message

Christophe JAILLET Sept. 10, 2019, 4:11 a.m. UTC
'exit' functions should be marked as __exit, not __init.

Fixes: fc60a8b675bd ("tty: serial: owl: Implement console driver")
Signed-off-by: Christophe JAILLET <>
 drivers/tty/serial/owl-uart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series

diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c
index 03963af77b15..d2d8b3494685 100644
--- a/drivers/tty/serial/owl-uart.c
+++ b/drivers/tty/serial/owl-uart.c
@@ -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)