summaryrefslogtreecommitdiff
path: root/drivers/clocksource/sunxi_timer.c
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-04-01 13:47:29 -0500
committerJon Hunter <jon-hunter@ti.com>2013-04-01 13:47:29 -0500
commit2d61aecee8f32259920cdf90a452fa26ffc64e9f (patch)
tree2311b6b4c12b946164e8cfb3422cebdfecf08f37 /drivers/clocksource/sunxi_timer.c
parent71856843fb1d8ee455a4c1a60696c74afa4809e5 (diff)
parent6bb27d7349db51b50c40534710fe164ca0d58902 (diff)
downloadolio-linux-3.10-2d61aecee8f32259920cdf90a452fa26ffc64e9f.tar.xz
olio-linux-3.10-2d61aecee8f32259920cdf90a452fa26ffc64e9f.zip
Merge commit '6bb27d7349db51b50c40534710fe164ca0d58902' into omap-timer-for-v3.10
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 3cd1bd3d7ae..6c2ed56e8b1 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,
-};