2015-04-12 15:14:57

by Valentin Rothberg

[permalink] [raw]
Subject: [PATCH] drivers/tty/serial/mpc52xx_uart.c: fix typo in C comment

Fix reference on PPC_MPC52xx in C comment after #endif.

Signed-off-by: Valentin Rothberg <[email protected]>
---
drivers/tty/serial/mpc52xx_uart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/mpc52xx_uart.c b/drivers/tty/serial/mpc52xx_uart.c
index 1589f17c1fca..6fc07eb9d74e 100644
--- a/drivers/tty/serial/mpc52xx_uart.c
+++ b/drivers/tty/serial/mpc52xx_uart.c
@@ -405,7 +405,7 @@ static struct psc_ops mpc5200b_psc_ops = {
.get_mr1 = mpc52xx_psc_get_mr1,
};

-#endif /* CONFIG_MPC52xx */
+#endif /* CONFIG_PPC_MPC52xx */

#ifdef CONFIG_PPC_MPC512x
#define FIFO_512x(port) ((struct mpc512x_psc_fifo __iomem *)(PSC(port)+1))
--
2.1.0


2015-04-12 16:07:28

by Peter Hurley

[permalink] [raw]
Subject: Re: [PATCH] drivers/tty/serial/mpc52xx_uart.c: fix typo in C comment

On 04/12/2015 11:14 AM, Valentin Rothberg wrote:
> Fix reference on PPC_MPC52xx in C comment after #endif.

Reviewed-by: Peter Hurley <[email protected]>