diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-03-29 03:30:20 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-03-29 03:30:20 -0500 |
commit | c65631781eb0f2e81865017c1484e9aef76e1b61 (patch) | |
tree | 47bb68ecda4dfeecebbc8186a1d7fd12ec03c0d6 /drivers/mmc/omap.c | |
parent | 730c9b7e6630f786fcec026fb11d2e6f2c90fdcb (diff) |
[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 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/config.h> | 14 | #include <linux/config.h> |
15 | |||
16 | #ifdef CONFIG_MMC_DEBUG | ||
17 | #define DEBUG /* for dev_dbg(), pr_debug(), etc */ | ||
18 | #endif | ||
19 | |||
20 | #include <linux/module.h> | 15 | #include <linux/module.h> |
21 | #include <linux/moduleparam.h> | 16 | #include <linux/moduleparam.h> |
22 | #include <linux/init.h> | 17 | #include <linux/init.h> |