Skip to content

Commit c35ef95

Browse files
shawnguo2olofj
authored andcommitted
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>
1 parent 9931fac commit c35ef95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/time/clockevents.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ void clockevents_config_and_register(struct clock_event_device *dev,
339339
clockevents_config(dev, freq);
340340
clockevents_register_device(dev);
341341
}
342+
EXPORT_SYMBOL_GPL(clockevents_config_and_register);
342343

343344
/**
344345
* clockevents_update_freq - Update frequency and reprogram a clock event device.

0 commit comments

Comments
 (0)