From: Paul Mundt Date: Sun, 21 Dec 2008 18:40:10 +0000 (+0900) Subject: serial: sh-sci: Fix up port pinmux for SH7366. X-Git-Tag: firefly_0821_release~16491^2~2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b0c50ad71746c4ad148f366135e3c87e32729108;p=firefly-linux-kernel-4.4.55.git serial: sh-sci: Fix up port pinmux for SH7366. Signed-off-by: Paul Mundt --- diff --git a/drivers/serial/sh-sci.c b/drivers/serial/sh-sci.c index a628081e586e..557b54ab2f25 100644 --- a/drivers/serial/sh-sci.c +++ b/drivers/serial/sh-sci.c @@ -269,7 +269,7 @@ static inline void sci_init_pins(struct uart_port *port, unsigned int cflag) if (!(cflag & CRTSCTS)) __raw_writew(0x0080, SCSPTR0); /* Set RTS = 1 */ } -#elif defined(CONFIG_CPU_SH4) +#elif defined(CONFIG_CPU_SH4) && !defined(CONFIG_CPU_SH4A) static inline void sci_init_pins(struct uart_port *port, unsigned int cflag) { if (!(cflag & CRTSCTS))