提交 8a4fbe01 编写于 作者: I Ian Molton 提交者: Samuel Ortiz

mfd: t7l66 MMC platform data

The tmio MMC driver needs the cell to be passed as a platform data.
Signed-off-by: NSamuel Ortiz <sameo@openedhand.com>
上级 d2432a63
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册