projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3cf55f
)
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
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-rk2818.c
b/drivers/i2c/busses/i2c-rk2818.c
index eb2c3638ddd8ece7910f0892e83aeb4a7a936d4a..f7f3f65e92821f4d897a4d9d71cfc215d480d20e 100755
(executable)
--- a/
drivers/i2c/busses/i2c-rk2818.c
+++ b/
drivers/i2c/busses/i2c-rk2818.c
@@
-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;