summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-01-12 12:50:04 +0100
committerOlof Johansson <olof@lixom.net>2013-01-14 19:12:37 +0100
commitc35ef95c273c06471818f9245a05ac5a6e3ffa34 (patch)
tree30d19d80078d9ddb248d49589cb72e59bf8f91e5
parentLinux 3.8-rc3 (diff)
downloadlinux-c35ef95c273c06471818f9245a05ac5a6e3ffa34.tar.xz
linux-c35ef95c273c06471818f9245a05ac5a6e3ffa34.zip
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: Shawn Guo <shawn.guo@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--kernel/time/clockevents.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/time/clockevents.c b/kernel/time/clockevents.c
index 30b6de0d977c..c6d6400ee137 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.