aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorVincent Stehlé <vincent.stehle@laposte.net>2014-05-25 17:13:05 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 15:30:48 -0400
commitc67f866dbb9b36593d0f6af177e99047ecebf95a (patch)
tree72610156abb441bcb8d69e0898f2b26abeb78280 /drivers/tty/serial
parente4ac92df2791c1a3912643e9547941f430fda726 (diff)
serial: efm32: add module_exit
Add missing specification of efm32_uart_exit as module_exit. This fixes the following compilation warning: drivers/tty/serial/efm32-uart.c:840:123: warning: ‘efm32_uart_exit’ defined but not used [-Wunused-function] Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net> Cc: Jiri Slaby <jslaby@suse.cz> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/efm32-uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c
index c167a710dc39..b373f6416e8c 100644
--- a/drivers/tty/serial/efm32-uart.c
+++ b/drivers/tty/serial/efm32-uart.c
@@ -842,6 +842,7 @@ static void __exit efm32_uart_exit(void)
842 platform_driver_unregister(&efm32_uart_driver); 842 platform_driver_unregister(&efm32_uart_driver);
843 uart_unregister_driver(&efm32_uart_reg); 843 uart_unregister_driver(&efm32_uart_reg);
844} 844}
845module_exit(efm32_uart_exit);
845 846
846MODULE_AUTHOR("Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>"); 847MODULE_AUTHOR("Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>");
847MODULE_DESCRIPTION("EFM32 UART/USART driver"); 848MODULE_DESCRIPTION("EFM32 UART/USART driver");