aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2011-08-15 05:17:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-23 13:52:59 -0400
commit91e8db593c0a2d8249ac00422af1ed42537a3b16 (patch)
tree5de9e2d02c35956427e2b7ca087da631c7065385 /arch
parent583d28e92f667eb6cc81ea87daaa7e321c23fe14 (diff)
mips: msp71xx/serial: convert to pr_foo() helpers
Convert to pr_foo() helpers rather than printk(KERN_.*). Acked-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Anoop P A<Anoop_P.A@pmc-sierra.com> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/pmc-sierra/msp71xx/msp_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/pmc-sierra/msp71xx/msp_serial.c b/arch/mips/pmc-sierra/msp71xx/msp_serial.c
index f7261628d8a6..c3247b5801f1 100644
--- a/arch/mips/pmc-sierra/msp71xx/msp_serial.c
+++ b/arch/mips/pmc-sierra/msp71xx/msp_serial.c
@@ -65,7 +65,7 @@ void __init msp_serial_setup(void)
65 up.line = 0; 65 up.line = 0;
66 up.private_data = (void*)UART0_STATUS_REG; 66 up.private_data = (void*)UART0_STATUS_REG;
67 if (early_serial_setup(&up)) 67 if (early_serial_setup(&up))
68 printk(KERN_ERR "Early serial init of port 0 failed\n"); 68 pr_err("Early serial init of port 0 failed\n");
69 69
70 /* Initialize the second serial port, if one exists */ 70 /* Initialize the second serial port, if one exists */
71 switch (mips_machtype) { 71 switch (mips_machtype) {
@@ -89,5 +89,5 @@ void __init msp_serial_setup(void)
89 up.line = 1; 89 up.line = 1;
90 up.private_data = (void*)UART1_STATUS_REG; 90 up.private_data = (void*)UART1_STATUS_REG;
91 if (early_serial_setup(&up)) 91 if (early_serial_setup(&up))
92 printk(KERN_ERR "Early serial init of port 1 failed\n"); 92 pr_err("Early serial init of port 1 failed\n");
93} 93}