Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: omap: repair building without PM_SLEEP

A recent bug fix in 3.10, ddd85e225c "serial: omap: prevent runtime PM for
"no_console_suspend"", introduced a regression from an obvious typo:

drivers/tty/serial/omap-serial.c:1677:14: error: 'serial_omap_complete'
undeclared here (not in a function)

This changes the incorrectly added macro to the one that we need instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Bin Liu <b-liu@ti.com>
Acked-by: Sourav Poddar<sourav.poddar@ti.com>
Tested-by: Sourav Poddar<sourav.poddar@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Arnd Bergmann and committed by
Greg Kroah-Hartman
2cb5a2fa 1b615bee

+1 -1
+1 -1
drivers/tty/serial/omap-serial.c
··· 1326 1326 } 1327 1327 #else 1328 1328 #define serial_omap_prepare NULL 1329 - #define serial_omap_prepare NULL 1329 + #define serial_omap_complete NULL 1330 1330 #endif /* CONFIG_PM_SLEEP */ 1331 1331 1332 1332 static void omap_serial_fill_features_erratas(struct uart_omap_port *up)