Commit ce00aa0a authored by Fabian Frederick's avatar Fabian Frederick Committed by Geert Uytterhoeven

m68k/apollo: Convert printk to pr_foo()

no level printk converted to pr_info

This is untested

Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent f296401b
...@@ -65,8 +65,8 @@ int __init apollo_parse_bootinfo(const struct bi_record *record) ...@@ -65,8 +65,8 @@ int __init apollo_parse_bootinfo(const struct bi_record *record)
static void __init dn_setup_model(void) static void __init dn_setup_model(void)
{ {
printk("Apollo hardware found: "); pr_info("Apollo hardware found: [%s]\n",
printk("[%s]\n", apollo_models[apollo_model - APOLLO_DN3000]); apollo_models[apollo_model - APOLLO_DN3000]);
switch(apollo_model) { switch(apollo_model) {
case APOLLO_UNKNOWN: case APOLLO_UNKNOWN:
...@@ -197,8 +197,10 @@ void dn_sched_init(irq_handler_t timer_routine) ...@@ -197,8 +197,10 @@ void dn_sched_init(irq_handler_t timer_routine)
*(volatile unsigned char *)(pica+1)&=(~8); *(volatile unsigned char *)(pica+1)&=(~8);
#if 0 #if 0
printk("*(0x10803) %02x\n",*(volatile unsigned char *)(apollo_timer + 0x3)); pr_info("*(0x10803) %02x\n",
printk("*(0x10803) %02x\n",*(volatile unsigned char *)(apollo_timer + 0x3)); *(volatile unsigned char *)(apollo_timer + 0x3));
pr_info("*(0x10803) %02x\n",
*(volatile unsigned char *)(apollo_timer + 0x3));
#endif #endif
if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine)) if (request_irq(IRQ_APOLLO, dn_timer_int, 0, "time", timer_routine))
...@@ -236,12 +238,10 @@ int dn_dummy_hwclk(int op, struct rtc_time *t) { ...@@ -236,12 +238,10 @@ int dn_dummy_hwclk(int op, struct rtc_time *t) {
} }
int dn_dummy_set_clock_mmss(unsigned long nowtime) { int dn_dummy_set_clock_mmss(unsigned long nowtime)
{
printk("set_clock_mmss\n"); pr_info("set_clock_mmss\n");
return 0;
return 0;
} }
void dn_dummy_reset(void) { void dn_dummy_reset(void) {
......
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