aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 8847d6eb2313..44f9aa7ec0c0 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -378,7 +378,7 @@ static void __init realtime_counter_init(void)
378 return; 378 return;
379 } 379 }
380 sys_clk = clk_get(NULL, "sys_clkin_ck"); 380 sys_clk = clk_get(NULL, "sys_clkin_ck");
381 if (!sys_clk) { 381 if (IS_ERR(sys_clk)) {
382 pr_err("%s: failed to get system clock handle\n", __func__); 382 pr_err("%s: failed to get system clock handle\n", __func__);
383 iounmap(base); 383 iounmap(base);
384 return; 384 return;