[PATCH] clockevent: export register_device and delta2ns

From: Magnus Damm
Date: Fri May 01 2009 - 01:55:46 EST


From: Magnus Damm <damm@xxxxxxxxxx>

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

Signed-off-by: Magnus Damm <damm@xxxxxxxxxx>
---

kernel/time/clockevents.c | 2 ++
1 file changed, 2 insertions(+)

--- 0001/kernel/time/clockevents.c
+++ work/kernel/time/clockevents.c 2009-05-01 13:11:51.000000000 +0900
@@ -54,6 +54,7 @@ unsigned long clockevent_delta2ns(unsign

return (unsigned long) clc;
}
+EXPORT_SYMBOL_GPL(clockevent_delta2ns);

/**
* clockevents_set_mode - set the operating mode of a clock event device
@@ -187,6 +188,7 @@ void clockevents_register_device(struct

spin_unlock(&clockevents_lock);
}
+EXPORT_SYMBOL_GPL(clockevents_register_device);

/*
* Noop handler when we shut down an event device
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/