Skip to contentSkip to conversation

rivafb: Clean up printk()'s in drivers/video/riva/fbdev.c

KJ Domen Puncer 1 participant 1 message Jan 30, 2005 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · James Nelson

This patch adds KERN_ constants to all of the printk()'s that need them in drivers/video/riva/fbdev.c - resent after reworking the debug #defines

diff -urN --exclude='*~' linux-2.6.11-rc2-mm1-original/drivers/video/riva/fbdev.c linux-2.6.11-rc2-mm1/drivers/video/riva/fbdev.c

drivers/video/riva/fbdev.c line 72

Quoted 8 lines
drivers/video/riva/fbdev.c +1 -3
@@ -68,18 +68,17 @@
  *
  * ------------------------------------------------------------------------- */
 #ifdef CONFIG_FB_RIVA_DEBUG
-#define NVTRACE          printk
-#else
-#define NVTRACE          if(0) printk
+#define DEBUG
 #endif

DEBUG should be defined before inclusion of kernel.h .

Domen

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