diff options
author | George G. Davis <gdavis@mvista.com> | 2010-02-18 12:32:12 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 09:11:13 -0400 |
commit | 0957c3339efa333b7895157eb18b9b578394f80c (patch) | |
tree | 9a54b9121f2eeb5d71422f094bd7f2865d71feee | |
parent | c27d37aed0ba9159c34747b2e1e2c3eddac454f8 (diff) |
mmc: sdhci: Make consistent use of CONFIG_MMC_DEBUG for "DEBUG"ging
The "6882a8c sdhci: Add better ADMA error reporting" commit added
sdhci_show_adma_error() which is built when DEBUG is defined. Since we
already have CONFIG_MMC_DEBUG used elsewhere in this driver, may as well
make consistent use of that config knob instead.
Signed-off-by: George G. Davis <gdavis@mvista.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/host/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index f608626c4821..e0536175185a 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -1427,7 +1427,7 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask) | |||
1427 | sdhci_finish_command(host); | 1427 | sdhci_finish_command(host); |
1428 | } | 1428 | } |
1429 | 1429 | ||
1430 | #ifdef DEBUG | 1430 | #ifdef CONFIG_MMC_DEBUG |
1431 | static void sdhci_show_adma_error(struct sdhci_host *host) | 1431 | static void sdhci_show_adma_error(struct sdhci_host *host) |
1432 | { | 1432 | { |
1433 | const char *name = mmc_hostname(host->mmc); | 1433 | const char *name = mmc_hostname(host->mmc); |