diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2008-07-31 18:16:13 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@openedhand.com> | 2008-08-10 14:10:06 -0400 |
commit | 56bf2bda0651ca368a259468e4f309c71ed35c35 (patch) | |
tree | 5e06540fb9bac40914840c0b166af06ed224690c /drivers/mfd/tc6387xb.c | |
parent | befb844415f4e3b9c48594d05238a8a4c2af8941 (diff) |
mfd: Fix 7l66 and 6387 according to the new mfd-core API
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
Diffstat (limited to 'drivers/mfd/tc6387xb.c')
-rw-r--r-- | drivers/mfd/tc6387xb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/tc6387xb.c b/drivers/mfd/tc6387xb.c index 03718feda4d8..9fd6f80b50f6 100644 --- a/drivers/mfd/tc6387xb.c +++ b/drivers/mfd/tc6387xb.c | |||
@@ -119,8 +119,8 @@ static int tc6387xb_probe(struct platform_device *dev) | |||
119 | 119 | ||
120 | printk(KERN_INFO "Toshiba tc6387xb initialised\n"); | 120 | printk(KERN_INFO "Toshiba tc6387xb initialised\n"); |
121 | 121 | ||
122 | ret = mfd_add_devices(dev, tc6387xb_cells, | 122 | ret = mfd_add_devices(&dev->dev, dev->id, tc6387xb_cells, |
123 | ARRAY_SIZE(tc6387xb_cells), iomem, irq); | 123 | ARRAY_SIZE(tc6387xb_cells), iomem, irq); |
124 | 124 | ||
125 | if (!ret) | 125 | if (!ret) |
126 | return 0; | 126 | return 0; |