Merge branch 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
[deliverable/linux.git] / drivers / clocksource / time-armada-370-xp.c
index a4e59239f28e0bae3bf3207a3c69c34b4fa25e37..20ec066481fe2bcddd05518c851b6c43bdc5f2b8 100644 (file)
@@ -342,7 +342,7 @@ static int __init armada_370_xp_timer_common_init(struct device_node *np)
        }
 
        res = armada_370_xp_timer_setup(this_cpu_ptr(armada_370_xp_evt));
-       if (!res) {
+       if (res) {
                pr_err("Failed to setup timer");
                return res;
        }
This page took 0.046076 seconds and 5 git commands to generate.