Commit 0269be79 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k/bvme6000: Modernize printing of kernel messages

Convert from printk() to pr_*().
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent ed1aded4
...@@ -63,7 +63,7 @@ void bvme6000_reset(void) ...@@ -63,7 +63,7 @@ void bvme6000_reset(void)
{ {
volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE; volatile PitRegsPtr pit = (PitRegsPtr)BVME_PIT_BASE;
printk ("\r\n\nCalled bvme6000_reset\r\n" pr_info("\r\n\nCalled bvme6000_reset\r\n"
"\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r"); "\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r");
/* The string of returns is to delay the reset until the whole /* The string of returns is to delay the reset until the whole
* message is output. */ * message is output. */
...@@ -117,7 +117,7 @@ void __init config_bvme6000(void) ...@@ -117,7 +117,7 @@ void __init config_bvme6000(void)
mach_reset = bvme6000_reset; mach_reset = bvme6000_reset;
mach_get_model = bvme6000_get_model; mach_get_model = bvme6000_get_model;
printk ("Board is %sconfigured as a System Controller\n", pr_info("Board is %sconfigured as a System Controller\n",
*config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not "); *config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not ");
/* Now do the PIT configuration */ /* Now do the PIT configuration */
......
...@@ -168,7 +168,7 @@ static int __init rtc_DP8570A_init(void) ...@@ -168,7 +168,7 @@ static int __init rtc_DP8570A_init(void)
if (!MACH_IS_BVME6000) if (!MACH_IS_BVME6000)
return -ENODEV; return -ENODEV;
printk(KERN_INFO "DP8570A Real Time Clock Driver v%s\n", RTC_VERSION); pr_info("DP8570A Real Time Clock Driver v%s\n", RTC_VERSION);
return misc_register(&rtc_dev); return misc_register(&rtc_dev);
} }
module_init(rtc_DP8570A_init); module_init(rtc_DP8570A_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment