diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sh_mobile_sdhi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 06e1bc98c536..175ab970952a 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c | |||
@@ -156,7 +156,6 @@ static int sh_mobile_sdhi_probe(struct platform_device *pdev) | |||
156 | mmc_data = &priv->mmc_data; | 156 | mmc_data = &priv->mmc_data; |
157 | 157 | ||
158 | if (p) { | 158 | if (p) { |
159 | p->pdata = mmc_data; | ||
160 | if (p->init) { | 159 | if (p->init) { |
161 | ret = p->init(pdev, &sdhi_ops); | 160 | ret = p->init(pdev, &sdhi_ops); |
162 | if (ret) | 161 | if (ret) |
@@ -310,9 +309,6 @@ static int sh_mobile_sdhi_remove(struct platform_device *pdev) | |||
310 | struct sh_mobile_sdhi_info *p = pdev->dev.platform_data; | 309 | struct sh_mobile_sdhi_info *p = pdev->dev.platform_data; |
311 | int i = 0, irq; | 310 | int i = 0, irq; |
312 | 311 | ||
313 | if (p) | ||
314 | p->pdata = NULL; | ||
315 | |||
316 | tmio_mmc_host_remove(host); | 312 | tmio_mmc_host_remove(host); |
317 | 313 | ||
318 | while (1) { | 314 | while (1) { |