diff options
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 */ |