diff options
author | Geert Uytterhoeven <geert+renesas@linux-m68k.org> | 2014-03-11 11:11:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 16:20:49 -0700 |
commit | d3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15 (patch) | |
tree | d44273c51c4c4a61068e850b102f1c0596e84739 /drivers/tty/serial | |
parent | 26de4f1b2fb45e53a9e8f4f913b9cdf6c294070b (diff) | |
download | op-kernel-dev-d3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15.zip op-kernel-dev-d3dfe5d9b4c8b3156b28f99f7a4a59ad8be09b15.tar.gz |
serial: sh-sci: Replace hardcoded 3 by UART_PM_STATE_OFF
Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Acked-by: Simon Horman <horms@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 22a508a..634ecae 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c @@ -1955,7 +1955,7 @@ static void sci_pm(struct uart_port *port, unsigned int state, struct sci_port *sci_port = to_sci_port(port); switch (state) { - case 3: + case UART_PM_STATE_OFF: sci_port_disable(sci_port); break; default: |