Skip to contentSkip to conversation

mdacon: Clean up printk()'s in

PATCH Superseded James Nelson 1 participant 1 message Jan 25, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 16/53 mdacon: Clean up printk()'s in

This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/console/mdacon.c

drivers/video/console/mdacon.c +2 -2
diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/console/mdacon.c linux-2.6.11-rc2-mm1/drivers/video/console/mdacon.c
@@ -326,7 +326,7 @@
 	mda_type_name = "MDA";
 
 	if (! mda_detect()) {
-		printk("mdacon: MDA card not detected.\n");
+		pr_info("mdacon: MDA card not detected.\n");
 		return NULL;
 	}
 
@@ -337,7 +337,7 @@
 	/* cursor looks ugly during boot-up, so turn it off */
 	mda_set_cursor(mda_vram_len - 1);
 
-	printk("mdacon: %s with %ldK of memory detected.\n",
+	pr_info("mdacon: %s with %ldK of memory detected.\n",
 		mda_type_name, mda_vram_len/1024);
 
 	return "MDA-2";

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors