diff options
Diffstat (limited to 'drivers/mfd/mcp-sa11x0.c')
-rw-r--r-- | drivers/mfd/mcp-sa11x0.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/mcp-sa11x0.c b/drivers/mfd/mcp-sa11x0.c index 420710b19f2d..960ebc790389 100644 --- a/drivers/mfd/mcp-sa11x0.c +++ b/drivers/mfd/mcp-sa11x0.c | |||
@@ -194,7 +194,6 @@ static int mcp_sa11x0_probe(struct platform_device *dev) | |||
194 | mcp->owner = THIS_MODULE; | 194 | mcp->owner = THIS_MODULE; |
195 | mcp->ops = &mcp_sa11x0; | 195 | mcp->ops = &mcp_sa11x0; |
196 | mcp->sclk_rate = data->sclk_rate; | 196 | mcp->sclk_rate = data->sclk_rate; |
197 | mcp->gpio_base = data->gpio_base; | ||
198 | 197 | ||
199 | m = priv(mcp); | 198 | m = priv(mcp); |
200 | m->mccr0 = data->mccr0 | 0x7f7f; | 199 | m->mccr0 = data->mccr0 | 0x7f7f; |
@@ -229,7 +228,7 @@ static int mcp_sa11x0_probe(struct platform_device *dev) | |||
229 | mcp->rw_timeout = (64 * 3 * 1000000 + mcp->sclk_rate - 1) / | 228 | mcp->rw_timeout = (64 * 3 * 1000000 + mcp->sclk_rate - 1) / |
230 | mcp->sclk_rate; | 229 | mcp->sclk_rate; |
231 | 230 | ||
232 | ret = mcp_host_add(mcp); | 231 | ret = mcp_host_add(mcp, data->codec_pdata); |
233 | if (ret == 0) | 232 | if (ret == 0) |
234 | return 0; | 233 | return 0; |
235 | 234 | ||