]> err.no Git - linux-2.6/blobdiff - drivers/mmc/wbsd.c
[MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected
[linux-2.6] / drivers / mmc / wbsd.c
index 3be397d436fab83c9d76f5576eb5bcfda953aeeb..511f7b0b31d21c02c12ad98b717e2ace407d60dd 100644 (file)
 #define DRIVER_NAME "wbsd"
 #define DRIVER_VERSION "1.5"
 
-#ifdef CONFIG_MMC_DEBUG
 #define DBG(x...) \
-       printk(KERN_DEBUG DRIVER_NAME ": " x)
+       pr_debug(DRIVER_NAME ": " x)
 #define DBGF(f, x...) \
-       printk(KERN_DEBUG DRIVER_NAME " [%s()]: " f, __func__ , ##x)
-#else
-#define DBG(x...)      do { } while (0)
-#define DBGF(x...)     do { } while (0)
-#endif
+       pr_debug(DRIVER_NAME " [%s()]: " f, __func__ , ##x)
 
 /*
  * Device resources