]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/ia64/kernel/cyclone.c
Merge branch 'master' into tk71
[mv-sheeva.git] / arch / ia64 / kernel / cyclone.c
index 71e35864d2e251a48630472071f5c9ae76af39e0..d52f1f78eff2ab01b126cc5ef35e2039400fddaf 100644 (file)
@@ -59,13 +59,13 @@ int __init init_cyclone_clock(void)
                return -ENODEV;
        }
        base = readq(reg);
+       iounmap(reg);
        if(!base){
                printk(KERN_ERR "Summit chipset: Could not find valid CBAR"
                                " value.\n");
                use_cyclone = 0;
                return -ENODEV;
        }
-       iounmap(reg);
 
        /* setup PMCC */
        offset = (base + CYCLONE_PMCC_OFFSET);