input: touchscreen: cyttsp5: Fix build error for !PM_SLEEP

drivers/input/touchscreen/cyttsp5/cyttsp5_core.c:6212:28: error: 'cyttsp5_core_late_resume' undeclared (first use in this function); did you mean 'cyttsp5_core_rt_resume'?
drivers/input/touchscreen/cyttsp5/cyttsp5_core.c:6213:29: error: 'cyttsp5_core_early_suspend' undeclared (first use in this function); did you mean 'cyttsp5_core_rt_suspend'?

Change-Id: I820b2bd29f8e3db7c7e8b4af81943b5a6d879a47
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
Tao Huang 2024-10-16 10:46:25 +08:00
commit d93b6deaf2

View file

@ -4856,6 +4856,7 @@ static int cyttsp5_core_resume(struct device *dev)
return 0;
}
#endif
static int cyttsp5_core_early_suspend(struct tp_device *tp_d)
{
@ -4896,7 +4897,6 @@ static int cyttsp5_core_late_resume(struct tp_device *tp_d)
return 0;
}
#endif
#if NEED_SUSPEND_NOTIFIER
static int cyttsp5_pm_notifier(struct notifier_block *nb,