Arnd Bergmann b4a512b8bf serial/omap: mark wait_for_xmitr as __maybe_unused
The wait_for_xmitr() function is only used if CONFIG_CONSOLE_POLL
or CONFIG_SERIAL_OMAP_CONSOLE are set, but when both are disabled,
the compiler warns about it being unused:

drivers/tty/serial/omap-serial.c:1168:13: warning: 'wait_for_xmitr' defined but not used [-Wunused-func

We could add more #ifdefs to work around it, but adding __maybe_unused
seems nicer.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 2172076d2399 ("serial/omap-serial: Deinline wait_for_xmitr, save 165 bytes")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-06 23:04:51 -08:00
..
2015-11-04 21:35:12 -08:00
2016-01-31 17:00:27 -08:00
2015-03-31 12:04:13 +02:00
2015-05-10 19:26:37 +02:00
2015-10-17 21:11:29 -07:00
2015-10-17 21:14:06 -07:00
2015-11-20 16:19:54 -08:00
2015-12-12 23:05:28 -08:00
2015-12-13 19:59:48 -08:00