diff options
author | Xinyu Chen <xinyu.chen@freescale.com> | 2012-02-02 16:28:35 +0800 |
---|---|---|
committer | Xinyu Chen <xinyu.chen@freescale.com> | 2012-02-02 16:59:08 +0800 |
commit | 1aad32867a31263e9a9fa2dabf5a576dec80a4f6 (patch) | |
tree | 06665e7d63b78b50977e065c9196c4181db09da4 /include | |
parent | 666292c5163e4ffb4e56da2cb8b143d0efe7f881 (diff) |
ENGR00137062 early suspend: add for framebuffer and ts driver
Add earlysuspend callback for ipuv3 fb and egalax ts driver.
Enhance the earlysuspend call back param with a data
member, which can record the device struct used by
suspend/resume routing.
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/linux/earlysuspend.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/earlysuspend.h b/include/linux/earlysuspend.h index 8343b817af31..fd00605f0a42 100755 --- a/include/linux/earlysuspend.h +++ b/include/linux/earlysuspend.h @@ -39,6 +39,7 @@ struct early_suspend { #ifdef CONFIG_HAS_EARLYSUSPEND struct list_head link; int level; + void *data; void (*suspend)(struct early_suspend *h); void (*resume)(struct early_suspend *h); #endif |