From: Arnd Bergmann Date: Sat, 1 Jun 2013 09:18:13 +0000 (+0200) Subject: serial: omap: repair building without PM_SLEEP X-Git-Tag: next-20130607~25^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2cb5a2fa219897e5d4ccd8831e8d0f3d6e6f0f23;p=karo-tx-linux.git 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 Acked-by: Kevin Hilman Signed-off-by: Bin Liu Acked-by: Sourav Poddar Tested-by: Sourav Poddar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 393a8eb98d72..1aaeca8727d4 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1326,7 +1326,7 @@ static int serial_omap_resume(struct device *dev) } #else #define serial_omap_prepare NULL -#define serial_omap_prepare NULL +#define serial_omap_complete NULL #endif /* CONFIG_PM_SLEEP */ static void omap_serial_fill_features_erratas(struct uart_omap_port *up)