summaryrefslogtreecommitdiff
path: root/sound/isa/wavefront/wavefront.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-25 17:33:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-08 03:11:14 +0300
commit0607616d9311096bfd1c325c36ffbfa71ccd40ab (patch)
tree4f74ccdd47473e0c2355c8f494b98467b8181a18 /sound/isa/wavefront/wavefront.c
parentc216c4ad592e30342ab55aface6f928ac16412db (diff)
downloadlinux-0607616d9311096bfd1c325c36ffbfa71ccd40ab.tar.xz
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>
Diffstat (limited to 'sound/isa/wavefront/wavefront.c')
0 files changed, 0 insertions, 0 deletions