diff options
Diffstat (limited to 'drivers/clocksource')
| -rw-r--r-- | drivers/clocksource/time-armada-370-xp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/time-armada-370-xp.c b/drivers/clocksource/time-armada-370-xp.c index a4e59239f28e..20ec066481fe 100644 --- a/drivers/clocksource/time-armada-370-xp.c +++ b/drivers/clocksource/time-armada-370-xp.c | |||
| @@ -342,7 +342,7 @@ static int __init armada_370_xp_timer_common_init(struct device_node *np) | |||
| 342 | } | 342 | } |
| 343 | 343 | ||
| 344 | res = armada_370_xp_timer_setup(this_cpu_ptr(armada_370_xp_evt)); | 344 | res = armada_370_xp_timer_setup(this_cpu_ptr(armada_370_xp_evt)); |
| 345 | if (!res) { | 345 | if (res) { |
| 346 | pr_err("Failed to setup timer"); | 346 | pr_err("Failed to setup timer"); |
| 347 | return res; | 347 | return res; |
| 348 | } | 348 | } |
