diff options
author | Ian Molton <spyro@f2s.com> | 2008-08-04 18:06:18 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-08-10 20:10:15 +0200 |
commit | 8a4fbe013fb6a2a65a4eddcddb888ebe38d0270d (patch) | |
tree | ad32add32950e78e67b9942096483a4522643259 /drivers/mfd/t7l66xb.c | |
parent | d2432a6321b8f578018690d0c5384ee5de19737d (diff) | |
download | linux-stable-8a4fbe013fb6a2a65a4eddcddb888ebe38d0270d.tar.gz linux-stable-8a4fbe013fb6a2a65a4eddcddb888ebe38d0270d.tar.bz2 linux-stable-8a4fbe013fb6a2a65a4eddcddb888ebe38d0270d.zip |
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/t7l66xb.c')
-rw-r--r-- | drivers/mfd/t7l66xb.c | 5 |
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) t7l66xb_cells[T7L66XB_CELL_NAND].data_size = sizeof(t7l66xb_cells[T7L66XB_CELL_NAND]); + t7l66xb_cells[T7L66XB_CELL_MMC].platform_data = + &t7l66xb_cells[T7L66XB_CELL_MMC]; + t7l66xb_cells[T7L66XB_CELL_MMC].data_size = + sizeof(t7l66xb_cells[T7L66XB_CELL_MMC]); + ret = mfd_add_devices(&dev->dev, dev->id, t7l66xb_cells, ARRAY_SIZE(t7l66xb_cells), iomem, t7l66xb->irq_base); |