diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-29 09:30:20 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-29 09:30:20 +0100 |
commit | c65631781eb0f2e81865017c1484e9aef76e1b61 (patch) | |
tree | 47bb68ecda4dfeecebbc8186a1d7fd12ec03c0d6 /drivers/mmc/omap.c | |
parent | 730c9b7e6630f786fcec026fb11d2e6f2c90fdcb (diff) | |
download | blackbird-op-linux-c65631781eb0f2e81865017c1484e9aef76e1b61.tar.gz blackbird-op-linux-c65631781eb0f2e81865017c1484e9aef76e1b61.zip |
[MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected
Rather than each driver test MMC_DEBUG itself, and define DEBUG,
pass it in via the makefile instead.
Fix drivers to use pr_debug() where appropriate, and avoid defining
a DEBUG() macro.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/omap.c')
-rw-r--r-- | drivers/mmc/omap.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index 49fb2ea4b7ee..becb3c68c34d 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c @@ -12,11 +12,6 @@ */ #include <linux/config.h> - -#ifdef CONFIG_MMC_DEBUG -#define DEBUG /* for dev_dbg(), pr_debug(), etc */ -#endif - #include <linux/module.h> #include <linux/moduleparam.h> #include <linux/init.h> |