diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-04-21 12:24:02 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 13:41:47 -0700 |
commit | 4614e6adafa2c5e6c3a9c245af2807fa7bc5117a (patch) | |
tree | e4bb5eeaa252ede053abc6b3c4d15c4127ce7a32 /include/media | |
parent | 8e19608e8b5c001e4a66ce482edc474f05fb7355 (diff) | |
download | op-kernel-dev-4614e6adafa2c5e6c3a9c245af2807fa7bc5117a.zip op-kernel-dev-4614e6adafa2c5e6c3a9c245af2807fa7bc5117a.tar.gz |
clocksource: add enable() and disable() callbacks
Add enable() and disable() callbacks for clocksources.
This allows us to put unused clocksources in power save mode. The
functions clocksource_enable() and clocksource_disable() wrap the
callbacks and are inserted in the timekeeping code to enable before use
and disable after switching to a new clocksource.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions