diff options
author | Wendly Li <wendlyli@google.com> | 2022-02-15 15:40:27 +0000 |
---|---|---|
committer | Wendly Li <wendlyli@google.com> | 2022-02-15 17:32:22 +0000 |
commit | fb0814d17d7f3fd80a22ecdc7c22bfc58f84261a (patch) | |
tree | b4d559156f974d8f3a8a9add5eed71e21b5a01b5 /goodix_ts_core.h | |
parent | b6096bc9122860432ebf55fc7538518d99a429a6 (diff) | |
download | goodix_touch-fb0814d17d7f3fd80a22ecdc7c22bfc58f84261a.tar.gz |
Register touch power manager
Bug: 214118711
Test: Check suspend and resume works when display on/off
Signed-off-by: Wendly Li <wendlyli@google.com>
Change-Id: Iff62c310c419891850c25555c238818182ecc010
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r-- | goodix_ts_core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h index f774f0d..e9143cb 100644 --- a/goodix_ts_core.h +++ b/goodix_ts_core.h @@ -40,6 +40,9 @@ #include <linux/notifier.h> #endif #include "touch_apis.h" +#if IS_ENABLED(CONFIG_TOUCHSCREEN_PM) +#include "touch_pm.h" +#endif #define GOODIX_CORE_DRIVER_NAME "goodix_ts" #define GOODIX_PEN_DRIVER_NAME "goodix_ts,pen" @@ -529,6 +532,9 @@ struct goodix_ts_core { #if IS_ENABLED(CONFIG_FB) struct notifier_block fb_notifier; #endif +#if IS_ENABLED(CONFIG_TOUCHSCREEN_PM) + struct touch_pm tpm; +#endif }; /* external module structures */ |