]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/mmc/sdhci.c
[MMC] Pass -DDEBUG on compiler command line if MMC_DEBUG selected
[mirror_ubuntu-zesty-kernel.git] / drivers / mmc / sdhci.c
index 8b811d94371c38c7666f28c7360d4d5f32e837cd..bdbfca050029a91548bd1d4e59a64ab8bb1705a4 100644 (file)
 
 #define BUGMAIL "<sdhci-devel@list.drzeus.cx>"
 
-#ifdef CONFIG_MMC_DEBUG
 #define DBG(f, x...) \
-       printk(KERN_DEBUG DRIVER_NAME " [%s()]: " f, __func__,## x)
-#else
-#define DBG(f, x...) do { } while (0)
-#endif
+       pr_debug(DRIVER_NAME " [%s()]: " f, __func__,## x)
 
 static const struct pci_device_id pci_ids[] __devinitdata = {
        /* handle any SD host controller */