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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
index 6e2bdc9b8530..2954b6617378 100644
--- a/arch/nios2/kernel/time.c
+++ b/arch/nios2/kernel/time.c
@@ -353,4 +353,4 @@ void __init time_init(void)
clocksource_probe();
}
-CLOCKSOURCE_OF_DECLARE(nios2_timer, ALTR_TIMER_COMPATIBLE, nios2_time_init);
+TIMER_OF_DECLARE(nios2_timer, ALTR_TIMER_COMPATIBLE, nios2_time_init);