aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clocksource/cyclone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/cyclone.c b/drivers/clocksource/cyclone.c
index 72f811f73e9..9e0998f2288 100644
--- a/drivers/clocksource/cyclone.c
+++ b/drivers/clocksource/cyclone.c
@@ -55,11 +55,11 @@ static int __init init_cyclone_clocksource(void)
55 } 55 }
56 /* even on 64bit systems, this is only 32bits: */ 56 /* even on 64bit systems, this is only 32bits: */
57 base = readl(reg); 57 base = readl(reg);
58 iounmap(reg);
58 if (!base) { 59 if (!base) {
59 printk(KERN_ERR "Summit chipset: Could not find valid CBAR value.\n"); 60 printk(KERN_ERR "Summit chipset: Could not find valid CBAR value.\n");
60 return -ENODEV; 61 return -ENODEV;
61 } 62 }
62 iounmap(reg);
63 63
64 /* setup PMCC: */ 64 /* setup PMCC: */
65 offset = base + CYCLONE_PMCC_OFFSET; 65 offset = base + CYCLONE_PMCC_OFFSET;