diff options
Diffstat (limited to 'drivers/serial/bfin_5xx.c')
-rw-r--r-- | drivers/serial/bfin_5xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/bfin_5xx.c b/drivers/serial/bfin_5xx.c index 5f55534a290b..8a2f6a1baa74 100644 --- a/drivers/serial/bfin_5xx.c +++ b/drivers/serial/bfin_5xx.c | |||
@@ -762,7 +762,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, | |||
762 | break; | 762 | break; |
763 | default: | 763 | default: |
764 | printk(KERN_ERR "%s: word lengh not supported\n", | 764 | printk(KERN_ERR "%s: word lengh not supported\n", |
765 | __FUNCTION__); | 765 | __func__); |
766 | } | 766 | } |
767 | 767 | ||
768 | if (termios->c_cflag & CSTOPB) | 768 | if (termios->c_cflag & CSTOPB) |
@@ -1029,7 +1029,7 @@ bfin_serial_console_get_options(struct bfin_serial_port *uart, int *baud, | |||
1029 | 1029 | ||
1030 | *baud = get_sclk() / (16*(dll | dlh << 8)); | 1030 | *baud = get_sclk() / (16*(dll | dlh << 8)); |
1031 | } | 1031 | } |
1032 | pr_debug("%s:baud = %d, parity = %c, bits= %d\n", __FUNCTION__, *baud, *parity, *bits); | 1032 | pr_debug("%s:baud = %d, parity = %c, bits= %d\n", __func__, *baud, *parity, *bits); |
1033 | } | 1033 | } |
1034 | #endif | 1034 | #endif |
1035 | 1035 | ||