]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mfd/tc6387xb.c
mfd: Fix 7l66 and 6387 according to the new mfd-core API
[linux-2.6-omap-h63xx.git] / drivers / mfd / tc6387xb.c
index 03718feda4d8f9300951ec304d785163eda56968..9fd6f80b50f64aa5c51e88b3487bb81dd1b631ce 100644 (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;