]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: fix up for mfd_add_devices() API change
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 11:31:20 +0000 (21:31 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2012 11:34:59 +0000 (21:34 +1000)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/mfd/max8907.c

index 5295276d0ddf0401d5a5844e57f18df7d886ae02..6497c98e030d821e22e2c5bb576b4420e8eeec59 100644 (file)
@@ -245,7 +245,7 @@ static __devinit int max8907_i2c_probe(struct i2c_client *i2c,
        enable_irq(max8907->i2c_gen->irq);
 
        ret = mfd_add_devices(max8907->dev, -1, max8907_cells,
-                             ARRAY_SIZE(max8907_cells), NULL, 0);
+                             ARRAY_SIZE(max8907_cells), NULL, 0, NULL);
        if (ret != 0) {
                dev_err(&i2c->dev, "failed to add MFD devices %d\n", ret);
                goto err_add_devices;