]> err.no Git - linux-2.6/commit
[MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 29 Mar 2006 08:30:20 +0000 (09:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Mar 2006 08:30:20 +0000 (09:30 +0100)
commitc65631781eb0f2e81865017c1484e9aef76e1b61
tree47bb68ecda4dfeecebbc8186a1d7fd12ec03c0d6
parent730c9b7e6630f786fcec026fb11d2e6f2c90fdcb
[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>
drivers/mmc/Makefile
drivers/mmc/au1xmmc.c
drivers/mmc/mmc.c
drivers/mmc/mmci.c
drivers/mmc/omap.c
drivers/mmc/pxamci.c
drivers/mmc/sdhci.c
drivers/mmc/wbsd.c