Skip to contentSkip to conversation

m68knommu: convert printk(KERN_INFO) to pr_info()

PATCH New Greg Ungerer 1 participant 1 message Sep 9, 2016

Subsystems (2)
lore
Share & tools
lore

Greg Ungerer

author maintainer
#0 lore raw

PATCH 1/1 m68knommu: convert printk(KERN_INFO) to pr_info()

The old style use of printk(KERN_INFO) is depracated. Convert use of it in setup_no.c to the modern pr_info().

---
 arch/m68k/kernel/setup_no.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
arch/m68k/kernel/setup_no.c +11 -11
index 0329e7d..8afe6f6 100644
@@ -104,36 +104,36 @@ void __init setup_arch(char **cmdline_p)
 
 	process_uboot_commandline(&command_line[0], sizeof(command_line));
 
-	printk(KERN_INFO "uClinux with CPU " CPU_NAME "\n");
+	pr_info("uClinux with CPU " CPU_NAME "\n");
 
 #ifdef CONFIG_UCDIMM
-	printk(KERN_INFO "uCdimm by Lineo, Inc. <www.lineo.com>\n");
+	pr_info("uCdimm by Lineo, Inc. <www.lineo.com>\n");
 #endif
 #ifdef CONFIG_M68VZ328
-	printk(KERN_INFO "M68VZ328 support by Evan Stawnyczy <[email protected]>\n");
+	pr_info("M68VZ328 support by Evan Stawnyczy <[email protected]>\n");
 #endif
 #ifdef CONFIG_COLDFIRE
-	printk(KERN_INFO "COLDFIRE port done by Greg Ungerer, [email protected]\n");
+	pr_info("COLDFIRE port done by Greg Ungerer, [email protected]\n");
 #ifdef CONFIG_M5307
-	printk(KERN_INFO "Modified for M5307 by Dave Miller, [email protected]\n");
+	pr_info("Modified for M5307 by Dave Miller, [email protected]\n");
 #endif
 #ifdef CONFIG_ELITE
-	printk(KERN_INFO "Modified for M5206eLITE by Rob Scott, [email protected]\n");
+	pr_info("Modified for M5206eLITE by Rob Scott, [email protected]\n");
 #endif
 #endif
-	printk(KERN_INFO "Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne\n");
+	pr_info("Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne\n");
 
 #if defined( CONFIG_PILOT ) && defined( CONFIG_M68328 )
-	printk(KERN_INFO "TRG SuperPilot FLASH card support <[email protected]>\n");
+	pr_info("TRG SuperPilot FLASH card support <[email protected]>\n");
 #endif
 #if defined( CONFIG_PILOT ) && defined( CONFIG_M68EZ328 )
-	printk(KERN_INFO "PalmV support by Lineo Inc. <[email protected]>\n");
+	pr_info("PalmV support by Lineo Inc. <[email protected]>\n");
 #endif
 #ifdef CONFIG_DRAGEN2
-	printk(KERN_INFO "DragonEngine II board support by Georges Menie\n");
+	pr_info("DragonEngine II board support by Georges Menie\n");
 #endif
 #ifdef CONFIG_M5235EVB
-	printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n");
+	pr_info("Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n");
 #endif
 
 	pr_debug("KERNEL -> TEXT=0x%p-0x%p DATA=0x%p-0x%p BSS=0x%p-0x%p\n",
Signature · 1 line
1.9.1