diff options
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/arm_arch_timer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 6967cb026b9e..6a79fc4f900c 100644 --- a/drivers/clocksource/arm_arch_timer.c +++ b/drivers/clocksource/arm_arch_timer.c | |||
@@ -663,11 +663,11 @@ static bool __init | |||
663 | arch_timer_probed(int type, const struct of_device_id *matches) | 663 | arch_timer_probed(int type, const struct of_device_id *matches) |
664 | { | 664 | { |
665 | struct device_node *dn; | 665 | struct device_node *dn; |
666 | bool probed = false; | 666 | bool probed = true; |
667 | 667 | ||
668 | dn = of_find_matching_node(NULL, matches); | 668 | dn = of_find_matching_node(NULL, matches); |
669 | if (dn && of_device_is_available(dn) && (arch_timers_present & type)) | 669 | if (dn && of_device_is_available(dn) && !(arch_timers_present & type)) |
670 | probed = true; | 670 | probed = false; |
671 | of_node_put(dn); | 671 | of_node_put(dn); |
672 | 672 | ||
673 | return probed; | 673 | return probed; |