From: George G. Davis Date: Thu, 18 Feb 2010 17:32:12 +0000 (-0500) Subject: mmc: sdhci: Make consistent use of CONFIG_MMC_DEBUG for "DEBUG"ging X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0957c3339efa333b7895157eb18b9b578394f80c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Cc: Ben Dooks Cc: Signed-off-by: Andrew Morton Signed-off-by: Chris Ball --- 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) sdhci_finish_command(host); } -#ifdef DEBUG +#ifdef CONFIG_MMC_DEBUG static void sdhci_show_adma_error(struct sdhci_host *host) { const char *name = mmc_hostname(host->mmc);