Skip to contentSkip to conversation

drivers/tty/serial: altera: fix typos in #endif comments

PATCH In review Valentin Rothberg 2 participants 2 messages Apr 11, 2015 – Apr 13, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drivers/tty/serial: altera: fix typos in #endif comments

Correct reference on CONFIG_SERIAL_ALTERA_{JTAG}UART_CONSOLE in C-comment after #endif.

---
I found this issue with ./scripts/checkkconfigsymbols.py

---
 drivers/tty/serial/altera_jtaguart.c | 2 +-
 drivers/tty/serial/altera_uart.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/tty/serial/altera_jtaguart.c +1 -1
index 0fefdd8931a2..32df2a0cb060 100644
@@ -387,7 +387,7 @@ console_initcall(altera_jtaguart_console_init);
 
 #define	ALTERA_JTAGUART_CONSOLE	NULL
 
-#endif /* CONFIG_ALTERA_JTAGUART_CONSOLE */
+#endif /* CONFIG_SERIAL_ALTERA_JTAGUART_CONSOLE */
 
 static struct uart_driver altera_jtaguart_driver = {
 	.owner		= THIS_MODULE,
drivers/tty/serial/altera_uart.c +1 -1
index b2859fe07e14..fd87a6f574e3 100644
@@ -493,7 +493,7 @@ console_initcall(altera_uart_console_init);
 
 #define	ALTERA_UART_CONSOLE	NULL
 
-#endif /* CONFIG_ALTERA_UART_CONSOLE */
+#endif /* CONFIG_SERIAL_ALTERA_UART_CONSOLE */
 
 /*
  *	Define the altera_uart UART driver structure.
Signature · 1 line
2.1.0