diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-02-18 21:06:59 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-21 10:26:33 -0800 |
commit | 8c2d09c318f905bd8c1cf451501e20c903fcaaef (patch) | |
tree | fd8bcab1d546f7c828c66d45b9abdf2c7fb74ed6 | |
parent | 763dc333c859845a6d8bd6635169a7057a2f33ef (diff) |
i2c: tegra: Add connection name in clk_get_sys
Adding the connection name of clock as "i2c-div" when i2c driver
calls clk_get_sys() for getting clock data pointers.
Change-Id: I3e7fa79ce6d51be189f1d93cb54af0d1b3425de8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/84694
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
-rw-r--r-- | drivers/i2c/busses/i2c-tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c index a40c2ff75fa7..e23d431b7907 100644 --- a/drivers/i2c/busses/i2c-tegra.c +++ b/drivers/i2c/busses/i2c-tegra.c @@ -814,7 +814,7 @@ static int tegra_i2c_probe(struct platform_device *pdev) } irq = res->start; - clk = clk_get(&pdev->dev, NULL); + clk = clk_get(&pdev->dev, "i2c-div"); if (IS_ERR(clk)) { dev_err(&pdev->dev, "missing controller clock"); ret = PTR_ERR(clk); |