[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1401052385-3786-1-git-send-email-vincent.stehle@laposte.net>
Date: Sun, 25 May 2014 23:13:05 +0200
From: Vincent Stehlé <vincent.stehle@...oste.net>
To: linux-serial@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Cc: Vincent Stehlé <vincent.stehle@...oste.net>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Greg Kroah-Hartman <gregkh@...e.de>,
Jiri Slaby <jslaby@...e.cz>
Subject: [PATCH] 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@...oste.net>
Cc: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Cc: Greg Kroah-Hartman <gregkh@...e.de>
Cc: Jiri Slaby <jslaby@...e.cz>
---
Hi,
This can be seen with e.g. arm allmodconfig.
Best regards,
V.
drivers/tty/serial/efm32-uart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/efm32-uart.c b/drivers/tty/serial/efm32-uart.c
index c167a71..b373f64 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)
platform_driver_unregister(&efm32_uart_driver);
uart_unregister_driver(&efm32_uart_reg);
}
+module_exit(efm32_uart_exit);
MODULE_AUTHOR("Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>");
MODULE_DESCRIPTION("EFM32 UART/USART driver");
--
2.0.0.rc2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists