Skip to contentSkip to conversation

fb: Clean up printk()'s in

PATCH RESEND Superseded James Nelson 1 participant 1 message Jan 26, 2005

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

PATCH RESEND 34/53 fb: Clean up printk()'s in

This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/modedb.c - resent after removing the whole #ifdef block

drivers/video/modedb.c +1 -5
diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/modedb.c linux-2.6.11-rc2-mm1/drivers/video/modedb.c
@@ -23,11 +23,7 @@
 #define res_matches(v, x, y) \
     ((v).xres == (x) && (v).yres == (y))
 
-#ifdef DEBUG
-#define DPRINTK(fmt, args...)	printk("modedb %s: " fmt, __FUNCTION__ , ## args)
-#else
-#define DPRINTK(fmt, args...)
-#endif
+#define DPRINTK(fmt, args...)	pr_debug("modedb %s: " fmt, __FUNCTION__ , ## args)
 
 const char *global_mode_option;
 

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