clockevent: export register_device and delta2ns
authorMagnus Damm <magnus.damm@gmail.com>
Fri, 1 May 2009 05:52:47 +0000 (14:52 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 2 May 2009 09:51:07 +0000 (11:51 +0200)
commitc81fc2c331b8514ad112054cd2d87e6ec132286b
treee8b092222fd35c114a572272129d2eeb8f1e8238
parenta52f5c5620673c292cb159205bf0e1eb5af1985b
clockevent: export register_device and delta2ns

Export the following symbols using EXPORT_SYMBOL_GPL:
 - clockevent_delta2ns
 - clockevents_register_device

This allows us to build SuperH clockevent and clocksource
drivers as modules, see drivers/clocksource/sh_*.c

[ Impact: allow modular build of clockevent drivers ]

Signed-off-by: Magnus Damm <damm@igel.co.jp>
LKML-Reference: <20090501055247.8286.64067.sendpatchset@rx1.opensource.se>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/clockevents.c