Skip to content

Commit

Permalink
clockevents: export clockevents_config_and_register for module use
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn Guo authored and Olof Johansson committed Jan 14, 2013
1 parent 9931fac commit c35ef95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/time/clockevents.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c35ef95

Please sign in to comment.