Files
kernel_xiaomi_cepheus/include/linux/platform_data
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
..
2013-06-11 20:25:58 +01:00
2014-02-19 13:36:15 +09:00
2015-10-17 21:22:08 -07:00
2014-01-02 03:30:35 -05:00
2015-07-27 01:10:29 -07:00
2014-01-14 21:36:53 -08:00
2015-12-29 19:06:22 +01:00
2015-10-27 04:21:14 +01:00
2013-12-11 10:56:21 -05:00
2014-01-14 21:36:53 -08:00
2013-05-25 10:33:30 -04:00