Re: [PATCH] serial: efm32: add module_exit

From: Uwe Kleine-König
Date: Sun May 25 2014 - 17:58:07 EST


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@xxxxxxxxxxx>
> Cc: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
Acked-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>

Thanks
Uwe

--
Pengutronix e.K. | Uwe Kleine-KÃnig |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/