aboutsummaryrefslogtreecommitdiff
path: root/include/ns16550.h
diff options
context:
space:
mode:
authorSimon Glass2020-12-22 19:30:19 -0700
committerSimon Glass2021-01-05 12:24:40 -0700
commit2d6bf754ced8fc66cb945d026b66865da4fede85 (patch)
tree8efe630192c75c1c64adb9829f1a37f7f23afc41 /include/ns16550.h
parentd30c7209dfb4c6e4f38f8b42354e44885b53f301 (diff)
serial: Rename ns16550 functions to lower case
Lower case should be used for function names. Update this driver and its callers accordingly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/ns16550.h')
-rw-r--r--include/ns16550.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ns16550.h b/include/ns16550.h
index 75c5bf61fd3..bef20719980 100644
--- a/include/ns16550.h
+++ b/include/ns16550.h
@@ -222,11 +222,11 @@ struct ns16550 {
/* useful defaults for LCR */
#define UART_LCR_8N1 0x03
-void NS16550_init(struct ns16550 *com_port, int baud_divisor);
-void NS16550_putc(struct ns16550 *com_port, char c);
-char NS16550_getc(struct ns16550 *com_port);
-int NS16550_tstc(struct ns16550 *com_port);
-void NS16550_reinit(struct ns16550 *com_port, int baud_divisor);
+void ns16550_init(struct ns16550 *com_port, int baud_divisor);
+void ns16550_putc(struct ns16550 *com_port, char c);
+char ns16550_getc(struct ns16550 *com_port);
+int ns16550_tstc(struct ns16550 *com_port);
+void ns16550_reinit(struct ns16550 *com_port, int baud_divisor);
/**
* ns16550_calc_divisor() - calculate the divisor given clock and baud rate