aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorIan Molton <spyro@f2s.com>2008-08-04 12:06:18 -0400
committerSamuel Ortiz <sameo@openedhand.com>2008-08-10 14:10:15 -0400
commit8a4fbe013fb6a2a65a4eddcddb888ebe38d0270d (patch)
treead32add32950e78e67b9942096483a4522643259 /drivers/mfd
parentd2432a6321b8f578018690d0c5384ee5de19737d (diff)
mfd: t7l66 MMC platform data
The tmio MMC driver needs the cell to be passed as a platform data. Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/t7l66xb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/t7l66xb.c b/drivers/mfd/t7l66xb.c
index 2d715fcea76f..49a0fffc02af 100644
--- a/drivers/mfd/t7l66xb.c
+++ b/drivers/mfd/t7l66xb.c
@@ -343,6 +343,11 @@ static int t7l66xb_probe(struct platform_device *dev)
343 t7l66xb_cells[T7L66XB_CELL_NAND].data_size = 343 t7l66xb_cells[T7L66XB_CELL_NAND].data_size =
344 sizeof(t7l66xb_cells[T7L66XB_CELL_NAND]); 344 sizeof(t7l66xb_cells[T7L66XB_CELL_NAND]);
345 345
346 t7l66xb_cells[T7L66XB_CELL_MMC].platform_data =
347 &t7l66xb_cells[T7L66XB_CELL_MMC];
348 t7l66xb_cells[T7L66XB_CELL_MMC].data_size =
349 sizeof(t7l66xb_cells[T7L66XB_CELL_MMC]);
350
346 ret = mfd_add_devices(&dev->dev, dev->id, 351 ret = mfd_add_devices(&dev->dev, dev->id,
347 t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells), 352 t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells),
348 iomem, t7l66xb->irq_base); 353 iomem, t7l66xb->irq_base);