aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-09 11:07:36 -0400
committerArnd Bergmann <arnd@arndb.de>2013-04-09 11:07:36 -0400
commit1194b152cd4eff475652785ce366b20afe82dfcf (patch)
tree78da3848410f05949714b2e475d4cf92b463fb31 /drivers/clocksource
parent86feb64f5bfe75da74f4a2faf18b5e57be9cde5e (diff)
parent38be85de698ef3f2755ee0eabf520530757860aa (diff)
Merge branch 'tegra/soc' into next/drivers
This is a dependency for the tegra/clk branch. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Conflicts: drivers/clocksource/tegra20_timer.c
Diffstat (limited to 'drivers/clocksource')
-rw-r--r--drivers/clocksource/tegra20_timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c
index 2e4d8a666c36..ae877b021b54 100644
--- a/drivers/clocksource/tegra20_timer.c
+++ b/drivers/clocksource/tegra20_timer.c
@@ -172,7 +172,7 @@ static void __init tegra20_init_timer(struct device_node *np)
172 BUG(); 172 BUG();
173 } 173 }
174 174
175 clk = clk_get_sys("timer", NULL); 175 clk = of_clk_get(np, 0);
176 if (IS_ERR(clk)) { 176 if (IS_ERR(clk)) {
177 pr_warn("Unable to get timer clock. Assuming 12Mhz input clock.\n"); 177 pr_warn("Unable to get timer clock. Assuming 12Mhz input clock.\n");
178 rate = 12000000; 178 rate = 12000000;
@@ -235,7 +235,7 @@ static void __init tegra20_init_rtc(struct device_node *np)
235 * rtc registers are used by read_persistent_clock, keep the rtc clock 235 * rtc registers are used by read_persistent_clock, keep the rtc clock
236 * enabled 236 * enabled
237 */ 237 */
238 clk = clk_get_sys("rtc-tegra", NULL); 238 clk = of_clk_get(np, 0);
239 if (IS_ERR(clk)) 239 if (IS_ERR(clk))
240 pr_warn("Unable to get rtc-tegra clock\n"); 240 pr_warn("Unable to get rtc-tegra clock\n");
241 else 241 else