diff options
Diffstat (limited to 'drivers/mfd/wl1273-core.c')
-rw-r--r-- | drivers/mfd/wl1273-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wl1273-core.c b/drivers/mfd/wl1273-core.c index edbe6c1b755a..1288e9943f01 100644 --- a/drivers/mfd/wl1273-core.c +++ b/drivers/mfd/wl1273-core.c | |||
@@ -185,7 +185,7 @@ static int wl1273_core_remove(struct i2c_client *client) | |||
185 | static int wl1273_core_probe(struct i2c_client *client, | 185 | static int wl1273_core_probe(struct i2c_client *client, |
186 | const struct i2c_device_id *id) | 186 | const struct i2c_device_id *id) |
187 | { | 187 | { |
188 | struct wl1273_fm_platform_data *pdata = client->dev.platform_data; | 188 | struct wl1273_fm_platform_data *pdata = dev_get_platdata(&client->dev); |
189 | struct wl1273_core *core; | 189 | struct wl1273_core *core; |
190 | struct mfd_cell *cell; | 190 | struct mfd_cell *cell; |
191 | int children = 0; | 191 | int children = 0; |