Commit c35ef95c authored by Shawn Guo's avatar Shawn Guo Committed by Olof Johansson

clockevents: export clockevents_config_and_register for module use

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: default avatarShawn Guo <shawn.guo@linaro.org>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 9931faca
...@@ -339,6 +339,7 @@ void clockevents_config_and_register(struct clock_event_device *dev, ...@@ -339,6 +339,7 @@ void clockevents_config_and_register(struct clock_event_device *dev,
clockevents_config(dev, freq); clockevents_config(dev, freq);
clockevents_register_device(dev); clockevents_register_device(dev);
} }
EXPORT_SYMBOL_GPL(clockevents_config_and_register);
/** /**
* clockevents_update_freq - Update frequency and reprogram a clock event device. * clockevents_update_freq - Update frequency and reprogram a clock event device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment