How can I register a call-back on suspend in a linux driver?

Posted by lucas on Stack Overflow See other posts from Stack Overflow or by lucas
Published on 2010-05-01T00:00:19Z Indexed on 2010/05/01 0:07 UTC
Read the original article Hit count: 198

Filed under:
|
|

I'm writing a linux driver and I would like to register a callback function to be invoked when the system goes to sleep. What is the api to do this?

Thanks.

© Stack Overflow or respective owner

Related posts about power

Related posts about linux-device-driver