diff --git a/drivers/mmc/host/dw_mmc-rockchip.c b/drivers/mmc/host/dw_mmc-rockchip.c index 2dcd570..d59fb21 100644 --- a/drivers/mmc/host/dw_mmc-rockchip.c +++ b/drivers/mmc/host/dw_mmc-rockchip.c @@ -295,7 +295,7 @@ static int dw_mci_rockchip_probe(struct platform_device *pdev) static void dw_mci_rockchip_platfm_shutdown(struct platform_device *pdev) { struct dw_mci *host = platform_get_drvdata(pdev); - struct mmc_host *mmc = host->cur_slot->mmc; + struct mmc_host *mmc = host->slot[0]->mmc; int ret; if(of_machine_is_compatible("rockchip,rk3288-miniarm")){