mfd: Add initialisation callback for WM8350
[linux-2.6.git] / drivers / mfd / wm8350-i2c.c
index 2b0569cf9512f4b570c1d52292b320eae32b5c9c..245b790961aa2a79e1a3d40d30d857b65425e821 100644 (file)
@@ -65,7 +65,7 @@ static int wm8350_i2c_probe(struct i2c_client *i2c,
        wm8350->read_dev = wm8350_i2c_read_device;
        wm8350->write_dev = wm8350_i2c_write_device;
 
-       ret = wm8350_device_init(wm8350);
+       ret = wm8350_device_init(wm8350, i2c->dev.platform_data);
        if (ret < 0)
                goto err;