diff options
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index 0cb52376f97d..60a8f7db2948 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -428,7 +428,7 @@ static int sci_probe_regmap(struct plat_sci_port *cfg) | |||
428 | cfg->regtype = SCIx_HSCIF_REGTYPE; | 428 | cfg->regtype = SCIx_HSCIF_REGTYPE; |
429 | break; | 429 | break; |
430 | default: | 430 | default: |
431 | printk(KERN_ERR "Can't probe register map for given port\n"); | 431 | pr_err("Can't probe register map for given port\n"); |
432 | return -EINVAL; | 432 | return -EINVAL; |
433 | } | 433 | } |
434 | 434 | ||
@@ -2389,8 +2389,7 @@ static inline int sci_probe_earlyprintk(struct platform_device *pdev) | |||
2389 | 2389 | ||
2390 | #endif /* CONFIG_SERIAL_SH_SCI_CONSOLE */ | 2390 | #endif /* CONFIG_SERIAL_SH_SCI_CONSOLE */ |
2391 | 2391 | ||
2392 | static char banner[] __initdata = | 2392 | static const char banner[] __initconst = "SuperH (H)SCI(F) driver initialized"; |
2393 | KERN_INFO "SuperH (H)SCI(F) driver initialized\n"; | ||
2394 | 2393 | ||
2395 | static struct uart_driver sci_uart_driver = { | 2394 | static struct uart_driver sci_uart_driver = { |
2396 | .owner = THIS_MODULE, | 2395 | .owner = THIS_MODULE, |
@@ -2616,7 +2615,7 @@ static int __init sci_init(void) | |||
2616 | { | 2615 | { |
2617 | int ret; | 2616 | int ret; |
2618 | 2617 | ||
2619 | printk(banner); | 2618 | pr_info("%s\n", banner); |
2620 | 2619 | ||
2621 | ret = uart_register_driver(&sci_uart_driver); | 2620 | ret = uart_register_driver(&sci_uart_driver); |
2622 | if (likely(ret == 0)) { | 2621 | if (likely(ret == 0)) { |