Files
i2som-imx-linux/include/linux
Arnd Bergmann 0607616d93 serial: sa1100: make sa1100_register_uart_fns a function
Calling sa1100_register_uart_fns() leaves the port structure
unused when CONFIG_SERIAL_SA1100 is disabled, and we get a
compiler warning about that:

arch/arm/mach-sa1100/badge4.c:317:31: warning: 'badge4_port_fns' defined but not used [-Wunused-variable]
 static struct sa1100_port_fns badge4_port_fns __initdata = {

This turns the two empty macros into empty inline functions,
which has the same effect, but lets the compiler know that the
variables are intentionally unused.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-07 16:11:14 -08:00
..
2016-02-04 18:26:08 +01:00
2016-01-30 13:35:32 -08:00
2016-01-28 14:19:12 -08:00
2016-02-03 08:28:43 -08:00
2016-02-03 08:28:43 -08:00
2016-01-22 17:02:18 -08:00
2016-02-11 18:35:48 -08:00
2016-02-11 18:35:48 -08:00
2016-02-09 04:28:06 -05:00
2016-01-28 14:13:44 -08:00