aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/omap.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-03-29 09:30:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-03-29 09:30:20 +0100
commitc65631781eb0f2e81865017c1484e9aef76e1b61 (patch)
tree47bb68ecda4dfeecebbc8186a1d7fd12ec03c0d6 /drivers/mmc/omap.c
parent730c9b7e6630f786fcec026fb11d2e6f2c90fdcb (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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c
index 49fb2ea4b7e..becb3c68c34 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>