rivafb: Clean up printk()'s in drivers/video/riva/fbdev.c
Quoted 9 lines · James Nelson
This patch adds
KERN_constants to all of the printk()'s that need them indrivers/video/riva/fbdev.c- resent after reworking the debug #definesSigned-off-by James Nelson <[email protected]>diff -urN --exclude='*~'
linux-2.6.11-rc2-mm1-original/drivers/video/riva/fbdev.clinux-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