update i2c
author林辉辉 <lhh@rock-chips.com>
Mon, 17 May 2010 03:43:35 +0000 (03:43 +0000)
committer黄涛 <huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:34:55 +0000 (13:34 +0800)
drivers/i2c/busses/i2c-rk2818.c

index eb2c3638ddd8ece7910f0892e83aeb4a7a936d4a..f7f3f65e92821f4d897a4d9d71cfc215d480d20e 100755 (executable)
@@ -587,7 +587,7 @@ static int rk2818_i2c_probe(struct platform_device *pdev)
 
        i2c->dev = &pdev->dev;
        
-       i2c->clk = clk_get(&pdev->dev, DRV_NAME);
+       i2c->clk = clk_get(&pdev->dev, "i2c");
        if (IS_ERR(i2c->clk)) {
                dev_err(&pdev->dev, "cannot get clock\n");
                ret = -ENOENT;