diff options
| author | Magnus Damm <[email protected]> | 2010-02-02 22:41:41 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2010-02-05 13:54:10 +0000 |
| commit | c54a42b19fbaae4e9f212322ecca25a6bc95c1ba (patch) | |
| tree | 2c929d3cde3b4ae864d5f5a50bdda688fd5293eb /lib/debugobjects.c | |
| parent | clocksource: add argument to resume callback (diff) | |
| download | kernel-c54a42b19fbaae4e9f212322ecca25a6bc95c1ba.tar.gz kernel-c54a42b19fbaae4e9f212322ecca25a6bc95c1ba.zip | |
clocksource: add suspend callback
Add a clocksource suspend callback. This callback can be used by the
clocksource driver to shutdown and perform any kind of late suspend
activities even though the clocksource driver itself is a non-sysdev
driver.
One example where this is useful is to fix the sh_cmt.c platform driver
that today suspends using the platform bus and shuts down the clocksource
too early.
With this callback in place the sh_cmt driver will suspend using the
clocksource and clockevent hooks and leave the platform device pm
callbacks unused.
Signed-off-by: Magnus Damm <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: john stultz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
