summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/sunxi_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/sunxi_timer.c')
-rw-r--r--drivers/clocksource/sunxi_timer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clocksource/sunxi_timer.c b/drivers/clocksource/sunxi_timer.c
index 3cd1bd3d7aee..6c2ed56e8b14 100644
--- a/drivers/clocksource/sunxi_timer.c
+++ b/drivers/clocksource/sunxi_timer.c
@@ -104,7 +104,7 @@ static struct of_device_id sunxi_timer_dt_ids[] = {
{ }
};
-static void __init sunxi_timer_init(void)
+void __init sunxi_timer_init(void)
{
struct device_node *node;
unsigned long rate = 0;
@@ -165,7 +165,3 @@ static void __init sunxi_timer_init(void)
clockevents_register_device(&sunxi_clockevent);
}
-
-struct sys_timer sunxi_timer = {
- .init = sunxi_timer_init,
-};
OpenPOWER on IntegriCloud