2015-04-12 16:18:35

by Valentin Rothberg

[permalink] [raw]
Subject: [PATCH v2] drivers/tty/serial/mcf.c: fix typo on SERIAL_MCF_CONSOLE

Correct reference in C-comment after #endif.

Signed-off-by: Valentin Rothberg <[email protected]>
---
v2: The correct identifiers is CONFIG_SERIAL_MCF_CONSOLE (reported by
Peter Hurley)
---
drivers/tty/serial/mcf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/mcf.c b/drivers/tty/serial/mcf.c
index a9b0ab38a68c..02eb32217685 100644
--- a/drivers/tty/serial/mcf.c
+++ b/drivers/tty/serial/mcf.c
@@ -597,7 +597,7 @@ console_initcall(mcf_console_init);
#define MCF_CONSOLE NULL

/****************************************************************************/
-#endif /* CONFIG_MCF_CONSOLE */
+#endif /* CONFIG_SERIAL_MCF_CONSOLE */
/****************************************************************************/

/*
--
2.1.0


2015-04-12 16:20:19

by Peter Hurley

[permalink] [raw]
Subject: Re: [PATCH v2] drivers/tty/serial/mcf.c: fix typo on SERIAL_MCF_CONSOLE

On 04/12/2015 12:18 PM, Valentin Rothberg wrote:
> Correct reference in C-comment after #endif.

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