mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user