X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fmvebu%2Fpatches-3.8%2F007-mmc_mvsdio_use_slot_gpio_for_cd.patch;h=bede3bf7e3601ea3f6a583b71c8536d96bf17ca1;hp=287dedf1d9ee7be2fce851c6788cbd754fac069e;hb=29c21b973be0ba7a07f0b13ef1198155a1ddc055;hpb=28acc6588d67f296284f235ce25c86d732cba2c1 diff --git a/target/linux/mvebu/patches-3.8/007-mmc_mvsdio_use_slot_gpio_for_cd.patch b/target/linux/mvebu/patches-3.8/007-mmc_mvsdio_use_slot_gpio_for_cd.patch index 287dedf1d9..bede3bf7e3 100644 --- a/target/linux/mvebu/patches-3.8/007-mmc_mvsdio_use_slot_gpio_for_cd.patch +++ b/target/linux/mvebu/patches-3.8/007-mmc_mvsdio_use_slot_gpio_for_cd.patch @@ -10,8 +10,6 @@ Signed-off-by: Thomas Petazzoni drivers/mmc/host/mvsdio.c | 44 +++++++++----------------------------------- 1 file changed, 9 insertions(+), 35 deletions(-) -diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c -index a24a22f..baf19fc 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -54,7 +54,6 @@ struct mvsd_host { @@ -22,7 +20,7 @@ index a24a22f..baf19fc 100644 }; #define mvsd_write(offs, val) writel(val, iobase + (offs)) -@@ -540,13 +539,6 @@ static void mvsd_timeout_timer(unsigned long data) +@@ -540,13 +539,6 @@ static void mvsd_timeout_timer(unsigned mmc_request_done(host->mmc, mrq); } @@ -36,7 +34,7 @@ index a24a22f..baf19fc 100644 static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable) { struct mvsd_host *host = mmc_priv(mmc); -@@ -765,23 +757,11 @@ static int __init mvsd_probe(struct platform_device *pdev) +@@ -765,23 +757,11 @@ static int __init mvsd_probe(struct plat clk_prepare_enable(host->clk); } @@ -65,7 +63,7 @@ index a24a22f..baf19fc 100644 mmc->caps |= MMC_CAP_NEEDS_POLL; mmc_gpio_request_ro(mmc, mvsd_data->gpio_write_protect); -@@ -794,9 +774,9 @@ static int __init mvsd_probe(struct platform_device *pdev) +@@ -794,9 +774,9 @@ static int __init mvsd_probe(struct plat pr_notice("%s: %s driver initialized, ", mmc_hostname(mmc), DRIVER_NAME); @@ -89,7 +87,7 @@ index a24a22f..baf19fc 100644 mmc_gpio_free_ro(mmc); if (host->base) iounmap(host->base); -@@ -832,10 +809,7 @@ static int __exit mvsd_remove(struct platform_device *pdev) +@@ -832,10 +809,7 @@ static int __exit mvsd_remove(struct pla if (mmc) { struct mvsd_host *host = mmc_priv(mmc); @@ -101,5 +99,3 @@ index a24a22f..baf19fc 100644 mmc_remove_host(mmc); free_irq(host->irq, host); mmc_gpio_free_ro(mmc); --- -1.7.9.5