aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/mmc-u8500.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin.vincent@stericsson.com>2010-01-22 14:14:34 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:44:00 -0600
commitb548c62969c53e99dab51f56ab372477a869c062 (patch)
treeadc93541785453c8cc83afe89a80113e3210bb89 /drivers/mmc/host/mmc-u8500.c
parentda2584f5e3488f500fcafeecfd5c5af5e4b80a48 (diff)
mmc-u8500: fix clk_get
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Diffstat (limited to 'drivers/mmc/host/mmc-u8500.c')
-rw-r--r--drivers/mmc/host/mmc-u8500.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/mmc-u8500.c b/drivers/mmc/host/mmc-u8500.c
index 4916dd6f0ee..938da4022f5 100644
--- a/drivers/mmc/host/mmc-u8500.c
+++ b/drivers/mmc/host/mmc-u8500.c
@@ -1523,8 +1523,8 @@ static int u8500_mmci_probe(struct amba_device *dev, struct amba_id *id)
else
mmc->max_blk_count = 64;
spin_lock_init(&host->lock);
- host->clk = clk_get(NULL, dev->dev.bus_id);
- if (!host->clk) {
+ host->clk = clk_get(&dev->dev, NULL);
+ if (IS_ERR(host->clk)) {
ret = PTR_ERR(host->clk);
goto unmap;
}