]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/clocksource/sunxi_timer.c
ARM: delete struct sys_timer
[mirror_ubuntu-artful-kernel.git] / drivers / clocksource / sunxi_timer.c
index 3cd1bd3d7aee7fd0f6c77143bfb11b8d1100e59e..6c2ed56e8b1414492a5727347884f9252157e21d 100644 (file)
@@ -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,
-};