Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c81fc2c3 authored by Magnus Damm's avatar Magnus Damm Committed by Thomas Gleixner
Browse files

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: default avatarMagnus Damm <damm@igel.co.jp>
LKML-Reference: <20090501055247.8286.64067.sendpatchset@rx1.opensource.se>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent a52f5c56
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -54,6 +54,7 @@ unsigned long clockevent_delta2ns(unsigned long latch,


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


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


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


/*
/*
 * Noop handler when we shut down an event device
 * Noop handler when we shut down an event device