Commit ed1aded4 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

m68k/68000: Modernize printing of kernel messages

Convert from printk() to pr_*().
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent 6d7919a7
...@@ -45,9 +45,9 @@ void m68328_reset (void) ...@@ -45,9 +45,9 @@ void m68328_reset (void)
void __init config_BSP(char *command, int len) void __init config_BSP(char *command, int len)
{ {
printk(KERN_INFO "\n68328 support D. Jeff Dionne <jeff@uclinux.org>\n"); pr_info("68328 support D. Jeff Dionne <jeff@uclinux.org>\n");
printk(KERN_INFO "68328 support Kenneth Albanowski <kjahds@kjshds.com>\n"); pr_info("68328 support Kenneth Albanowski <kjahds@kjshds.com>\n");
printk(KERN_INFO "68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n"); pr_info("68328/Pilot support Bernhard Kuhn <kuhn@lpr.e-technik.tu-muenchen.de>\n");
mach_hwclk = m68328_hwclk; mach_hwclk = m68328_hwclk;
mach_reset = m68328_reset; mach_reset = m68328_reset;
......
...@@ -57,12 +57,12 @@ void __init config_BSP(char *command, int len) ...@@ -57,12 +57,12 @@ void __init config_BSP(char *command, int len)
{ {
unsigned char *p; unsigned char *p;
printk(KERN_INFO "\n68EZ328 DragonBallEZ support (C) 1999 Rt-Control, Inc\n"); pr_info("68EZ328 DragonBallEZ support (C) 1999 Rt-Control, Inc\n");
#ifdef CONFIG_UCSIMM #ifdef CONFIG_UCSIMM
printk(KERN_INFO "uCsimm serial string [%s]\n",getserialnum()); pr_info("uCsimm serial string [%s]\n", getserialnum());
p = cs8900a_hwaddr = gethwaddr(0); p = cs8900a_hwaddr = gethwaddr(0);
printk(KERN_INFO "uCsimm hwaddr %pM\n", p); pr_info("uCsimm hwaddr %pM\n", p);
p = getbenv("APPEND"); p = getbenv("APPEND");
if (p) strcpy(p,command); if (p) strcpy(p,command);
......
...@@ -150,9 +150,9 @@ static void __init init_hardware(char *command, int size) ...@@ -150,9 +150,9 @@ static void __init init_hardware(char *command, int size)
{ {
char *p; char *p;
printk(KERN_INFO "uCdimm serial string [%s]\n", getserialnum()); pr_info("uCdimm serial string [%s]\n", getserialnum());
p = cs8900a_hwaddr = gethwaddr(0); p = cs8900a_hwaddr = gethwaddr(0);
printk(KERN_INFO "uCdimm hwaddr %pM\n", p); pr_info("uCdimm hwaddr %pM\n", p);
p = getbenv("APPEND"); p = getbenv("APPEND");
if (p) if (p)
strcpy(p, command); strcpy(p, command);
...@@ -177,7 +177,7 @@ static void __init init_hardware(char *command, int size) ...@@ -177,7 +177,7 @@ static void __init init_hardware(char *command, int size)
void __init config_BSP(char *command, int size) void __init config_BSP(char *command, int size)
{ {
printk(KERN_INFO "68VZ328 DragonBallVZ support (c) 2001 Lineo, Inc.\n"); pr_info("68VZ328 DragonBallVZ support (c) 2001 Lineo, Inc.\n");
init_hardware(command, size); init_hardware(command, size);
......
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