summaryrefslogtreecommitdiff
path: root/arch/nios2/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/kernel/time.c')
-rw-r--r--arch/nios2/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
index d9563ddb337e..746bf5caaffc 100644
--- a/arch/nios2/kernel/time.c
+++ b/arch/nios2/kernel/time.c
@@ -324,6 +324,7 @@ static int __init nios2_time_init(struct device_node *timer)
ret = nios2_clocksource_init(timer);
break;
default:
+ ret = 0;
break;
}