提交 91e8db59 编写于 作者: J Jamie Iles 提交者: Greg Kroah-Hartman

mips: msp71xx/serial: convert to pr_foo() helpers

Convert to pr_foo() helpers rather than printk(KERN_.*).
Acked-by: NRalf Baechle <ralf@linux-mips.org>
Acked-by: Anoop P A<Anoop_P.A@pmc-sierra.com>
Acked-by: NAlan Cox <alan@linux.intel.com>
Signed-off-by: NJamie Iles <jamie@jamieiles.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 583d28e9
...@@ -65,7 +65,7 @@ void __init msp_serial_setup(void) ...@@ -65,7 +65,7 @@ void __init msp_serial_setup(void)
up.line = 0; up.line = 0;
up.private_data = (void*)UART0_STATUS_REG; up.private_data = (void*)UART0_STATUS_REG;
if (early_serial_setup(&up)) if (early_serial_setup(&up))
printk(KERN_ERR "Early serial init of port 0 failed\n"); pr_err("Early serial init of port 0 failed\n");
/* Initialize the second serial port, if one exists */ /* Initialize the second serial port, if one exists */
switch (mips_machtype) { switch (mips_machtype) {
...@@ -89,5 +89,5 @@ void __init msp_serial_setup(void) ...@@ -89,5 +89,5 @@ void __init msp_serial_setup(void)
up.line = 1; up.line = 1;
up.private_data = (void*)UART1_STATUS_REG; up.private_data = (void*)UART1_STATUS_REG;
if (early_serial_setup(&up)) if (early_serial_setup(&up))
printk(KERN_ERR "Early serial init of port 1 failed\n"); pr_err("Early serial init of port 1 failed\n");
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册