rockchip-default remove outdated patch

Entire method of reboot changed.
This commit is contained in:
Tony 2018-08-21 01:18:55 -04:00 committed by GitHub
parent 8c09794cfe
commit 5ae6269521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +0,0 @@
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")){