clocksource: arm_arch_timer: remove static from arch_timer_init

A patch from »clocksource: add rockchip rk3288 specific armv7-timer« in state Obsolete for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Fri, 20 Jun 2014 12:07:05 +0200

Commit-Message

There exist SoCs that need some special setup procedure for their architected-timer to work. Therefore allow arch_timer_init to be called from such specialized clocksources. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

drivers/clocksource/arm_arch_timer.c | 2 +- drivers/clocksource/arm_arch_timer.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 drivers/clocksource/arm_arch_timer.h

Statistics

  • 8 lines added
  • 1 lines removed

Changes

--------------------- drivers/clocksource/arm_arch_timer.c ---------------------
index 5163ec1..55116d6 100644
@@ -635,7 +635,7 @@ static void __init arch_timer_common_init(void)
arch_timer_arch_init();
}
-static void __init arch_timer_init(struct device_node *np)
+void __init arch_timer_init(struct device_node *np)
{
int i;
--------------------- drivers/clocksource/arm_arch_timer.h ---------------------
new file mode 100644
index 0000000..af3974d
@@ -0,0 +1,7 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+void __init arch_timer_init(struct device_node *np);
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...