[PATCH v2 1/3] clockevents: export clockevents_config_and_register for module use

Shawn Guo shawn.guo at linaro.org
Sat Jan 12 06:50:04 EST 2013


clockevents_config_and_register is a handy helper for clockevent
drivers, some of which might support module build, so export the symbol.

Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
Cc: Thomas Gleixner <tglx at linutronix.de>
---
 kernel/time/clockevents.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 30b6de0..c6d6400 100644
--- a/kernel/time/clockevents.c
+++ b/kernel/time/clockevents.c
@@ -339,6 +339,7 @@ void clockevents_config_and_register(struct clock_event_device *dev,
 	clockevents_config(dev, freq);
 	clockevents_register_device(dev);
 }
+EXPORT_SYMBOL_GPL(clockevents_config_and_register);
 
 /**
  * clockevents_update_freq - Update frequency and reprogram a clock event device.
-- 
1.7.9.5





More information about the linux-arm-kernel mailing list