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

m68k/hp300: Convert printk to pr_foo()

This patch also fixes some checkpatch warnings

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 ce00aa0a
...@@ -87,7 +87,7 @@ int __init hp300_parse_bootinfo(const struct bi_record *record) ...@@ -87,7 +87,7 @@ int __init hp300_parse_bootinfo(const struct bi_record *record)
/* serial port address: ignored here */ /* serial port address: ignored here */
break; break;
default: default:
unknown = 1; unknown = 1;
} }
...@@ -262,11 +262,12 @@ void __init config_hp300(void) ...@@ -262,11 +262,12 @@ void __init config_hp300(void)
#endif #endif
mach_max_dma_address = 0xffffffff; mach_max_dma_address = 0xffffffff;
if (hp300_model >= HP_330 && hp300_model <= HP_433S && hp300_model != HP_350) { if (hp300_model >= HP_330 && hp300_model <= HP_433S &&
printk(KERN_INFO "Detected HP9000 model %s\n", hp300_models[hp300_model-HP_320]); hp300_model != HP_350) {
pr_info("Detected HP9000 model %s\n",
hp300_models[hp300_model-HP_320]);
strcat(hp300_model_name, hp300_models[hp300_model-HP_320]); strcat(hp300_model_name, hp300_models[hp300_model-HP_320]);
} } else {
else {
panic("Unknown HP9000 Model"); panic("Unknown HP9000 Model");
} }
#ifdef CONFIG_SERIAL_8250_CONSOLE #ifdef CONFIG_SERIAL_8250_CONSOLE
......
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