diff options
Diffstat (limited to 'drivers/clocksource/vt8500_timer.c')
-rw-r--r-- | drivers/clocksource/vt8500_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/vt8500_timer.c b/drivers/clocksource/vt8500_timer.c index 3dd21a47881f..b75b8e31dab4 100644 --- a/drivers/clocksource/vt8500_timer.c +++ b/drivers/clocksource/vt8500_timer.c @@ -134,7 +134,7 @@ static struct of_device_id vt8500_timer_ids[] = { { } }; -void __init vt8500_timer_init(void) +static void __init vt8500_timer_init(void) { struct device_node *np; int timer_irq; @@ -182,3 +182,4 @@ void __init vt8500_timer_init(void) clockevents_register_device(&clockevent); } +CLOCKSOURCE_OF_DECLARE(vt8500, "via,vt8500-timer", vt8500_timer_init) |