mmc: rk_sdmmc:
[firefly-linux-kernel-4.4.55.git] / drivers / mmc / host / dw_mmc-pltfm.c
index 93fc6a725dbae14e8a82964ea916097af0a6696b..501db7858610a7846431ac19067ccdd4b887501d 100755 (executable)
@@ -49,6 +49,9 @@ int dw_mci_pltfm_register(struct platform_device *pdev,
        host->irq_flags = 0;
        host->pdata = pdev->dev.platform_data;
        host->regs = devm_ioremap_resource(&pdev->dev, regs);
+        #ifdef CONFIG_MMC_DW_IDMAC
+        host->phy_regs = (void *)(regs->start);
+        #endif
        if (IS_ERR(host->regs))
                return PTR_ERR(host->regs);