diff options
Diffstat (limited to 'drivers/mfd/t7l66xb.c')
-rw-r--r-- | drivers/mfd/t7l66xb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c index 42830e692964..91ad21ef7721 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 | }, |
@@ -382,7 +383,8 @@ static int t7l66xb_probe(struct platform_device *dev) | |||
382 | 383 | ||
383 | t7l66xb_attach_irq(dev); | 384 | t7l66xb_attach_irq(dev); |
384 | 385 | ||
385 | t7l66xb_cells[T7L66XB_CELL_NAND].mfd_data = pdata->nand_data; | 386 | t7l66xb_cells[T7L66XB_CELL_NAND].platform_data = pdata->nand_data; |
387 | t7l66xb_cells[T7L66XB_CELL_NAND].pdata_size = sizeof(*pdata->nand_data); | ||
386 | 388 | ||
387 | ret = mfd_add_devices(&dev->dev, dev->id, | 389 | ret = mfd_add_devices(&dev->dev, dev->id, |
388 | t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells), | 390 | t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells), |