diff options
-rw-r--r-- | drivers/mfd/asic3.c | 3 | ||||
-rw-r--r-- | drivers/mfd/t7l66xb.c | 3 | ||||
-rw-r--r-- | drivers/mfd/tc6387xb.c | 3 | ||||
-rw-r--r-- | drivers/mfd/tc6393xb.c | 3 | ||||
-rw-r--r-- | drivers/mmc/host/tmio_mmc.c | 2 |
5 files changed, 9 insertions, 5 deletions
diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 0b4d5b23bec9..a26280240bb9 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c | |||
@@ -777,7 +777,8 @@ static struct mfd_cell asic3_cell_mmc = { | |||
777 | .name = "tmio-mmc", | 777 | .name = "tmio-mmc", |
778 | .enable = asic3_mmc_enable, | 778 | .enable = asic3_mmc_enable, |
779 | .disable = asic3_mmc_disable, | 779 | .disable = asic3_mmc_disable, |
780 | .mfd_data = &asic3_mmc_data, | 780 | .platform_data = &asic3_mmc_data, |
781 | .pdata_size = sizeof(asic3_mmc_data), | ||
781 | .num_resources = ARRAY_SIZE(asic3_mmc_resources), | 782 | .num_resources = ARRAY_SIZE(asic3_mmc_resources), |
782 | .resources = asic3_mmc_resources, | 783 | .resources = asic3_mmc_resources, |
783 | }; | 784 | }; |
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 42830e692964..5ef0b8fba107 100644 --- a/drivers/mfd/t7l66xb.c +++ b/drivers/mfd/t7l66xb.c | |||
@@ -170,7 +170,8 @@ static struct mfd_cell t7l66xb_cells[] = { | |||
170 | .name = "tmio-mmc", | 170 | .name = "tmio-mmc", |
171 | .enable = t7l66xb_mmc_enable, | 171 | .enable = t7l66xb_mmc_enable, |
172 | .disable = t7l66xb_mmc_disable, | 172 | .disable = t7l66xb_mmc_disable, |
173 | .mfd_data = &t7166xb_mmc_data, | 173 | .platform_data = &t7166xb_mmc_data, |
174 | .pdata_size = sizeof(t7166xb_mmc_data), | ||
174 | .num_resources = ARRAY_SIZE(t7l66xb_mmc_resources), | 175 | .num_resources = ARRAY_SIZE(t7l66xb_mmc_resources), |
175 | .resources = t7l66xb_mmc_resources, | 176 | .resources = t7l66xb_mmc_resources, |
176 | }, | 177 | }, |
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index b006f7cee952..ad715bf49cac 100644 --- a/drivers/mfd/tc6387xb.c +++ b/drivers/mfd/tc6387xb.c | |||
@@ -131,7 +131,8 @@ static struct mfd_cell tc6387xb_cells[] = { | |||
131 | .name = "tmio-mmc", | 131 | .name = "tmio-mmc", |
132 | .enable = tc6387xb_mmc_enable, | 132 | .enable = tc6387xb_mmc_enable, |
133 | .disable = tc6387xb_mmc_disable, | 133 | .disable = tc6387xb_mmc_disable, |
134 | .mfd_data = &tc6387xb_mmc_data, | 134 | .platform_data = &tc6387xb_mmc_data, |
135 | .pdata_size = sizeof(tc6387xb_mmc_data), | ||
135 | .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources), | 136 | .num_resources = ARRAY_SIZE(tc6387xb_mmc_resources), |
136 | .resources = tc6387xb_mmc_resources, | 137 | .resources = tc6387xb_mmc_resources, |
137 | }, | 138 | }, |
diff --git a/drivers/mfd/tc6393xb.c b/drivers/mfd/tc6393xb.c index fc53ce287601..8e9b1b765f1a 100644 --- a/drivers/mfd/tc6393xb.c +++ b/drivers/mfd/tc6393xb.c | |||
@@ -393,7 +393,8 @@ static struct mfd_cell __devinitdata tc6393xb_cells[] = { | |||
393 | .name = "tmio-mmc", | 393 | .name = "tmio-mmc", |
394 | .enable = tc6393xb_mmc_enable, | 394 | .enable = tc6393xb_mmc_enable, |
395 | .resume = tc6393xb_mmc_resume, | 395 | .resume = tc6393xb_mmc_resume, |
396 | .mfd_data = &tc6393xb_mmc_data, | 396 | .platform_data = &tc6393xb_mmc_data, |
397 | .pdata_size = sizeof(tc6393xb_mmc_data), | ||
397 | .num_resources = ARRAY_SIZE(tc6393xb_mmc_resources), | 398 | .num_resources = ARRAY_SIZE(tc6393xb_mmc_resources), |
398 | .resources = tc6393xb_mmc_resources, | 399 | .resources = tc6393xb_mmc_resources, |
399 | }, | 400 | }, |
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c index 14479f9ef53f..8d185de90d20 100644 --- a/drivers/mmc/host/tmio_mmc.c +++ b/drivers/mmc/host/tmio_mmc.c | |||
@@ -69,7 +69,7 @@ static int __devinit tmio_mmc_probe(struct platform_device *pdev) | |||
69 | if (pdev->num_resources != 2) | 69 | if (pdev->num_resources != 2) |
70 | goto out; | 70 | goto out; |
71 | 71 | ||
72 | pdata = mfd_get_data(pdev); | 72 | pdata = pdev->dev.platform_data; |
73 | if (!pdata || !pdata->hclk) | 73 | if (!pdata || !pdata->hclk) |
74 | goto out; | 74 | goto out; |
75 | 75 | ||