summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2019-09-10 06:11:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-06 13:08:07 +0100
commit31401d9f53a14f7f3f0256f45c0a6f914702c9cb (patch)
tree6256aa605188799655893fbc4c763a56f978d7a9 /drivers/tty
parent95eee3708ce7aa23214e15e35a2f244d2c76361a (diff)
downloadlinux-stable-31401d9f53a14f7f3f0256f45c0a6f914702c9cb.tar.gz
linux-stable-31401d9f53a14f7f3f0256f45c0a6f914702c9cb.tar.bz2
linux-stable-31401d9f53a14f7f3f0256f45c0a6f914702c9cb.zip
tty: serial: owl: Fix the link time qualifier of 'owl_uart_exit()'
[ Upstream commit 6264dab6efd6069f0387efb078a9960b5642377b ] 'exit' functions should be marked as __exit, not __init. Fixes: fc60a8b675bd ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/owl-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/owl-uart.c b/drivers/tty/serial/owl-uart.c
index 29a6dc6a8d23..73fcc6bdb031 100644
--- a/drivers/tty/serial/owl-uart.c
+++ b/drivers/tty/serial/owl-uart.c
@@ -742,7 +742,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);