[PATCH] serial: efm32: add module_exit

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sun May 25 14:57:56 PDT 2014


On Sun, May 25, 2014 at 11:13:05PM +0200, Vincent Stehlé wrote:
> 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]
This warning doesn't occur in my builds, probably because I have
MODULES=n. I can reproduce it on allmodconfig though.
 
> Signed-off-by: Vincent Stehlé <vincent.stehle at laposte.net>
> Cc: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list