mfd: Fix 7l66 and 6387 according to the new mfd-core API

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
This commit is contained in:
Samuel Ortiz
2008-08-01 00:16:13 +02:00
parent befb844415
commit 56bf2bda06
2 changed files with 10 additions and 5 deletions

View File

@@ -119,8 +119,8 @@ static int tc6387xb_probe(struct platform_device *dev)
printk(KERN_INFO "Toshiba tc6387xb initialised\n");
ret = mfd_add_devices(dev, tc6387xb_cells,
ARRAY_SIZE(tc6387xb_cells), iomem, irq);
ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells,
ARRAY_SIZE(tc6387xb_cells), iomem, irq);
if (!ret)
return 0;