mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
nt36xx: Fix bld error due to wakeup_api_changes
The goto statement needs to be enclosed by NVT_SENSOR_EN. For devices where this is not defined, we have the following build error: +++++++++++++++++++++++++++++++++++++++++++ motorola/kernel/modules/drivers/input/touchscreen/nova_0flash_mmi/nt36xxx.c:2239:1: warning: label 'err_wakeup_source_register_failed' defined but not used [-Wunused-label] error, forbidden warning: nt36xxx.c:2239 +++++++++++++++++++++++++++++++++++++++++++ NO_PROP_NEEDED: <only applies to bo branch> Change-Id: Icecdcec4f169c30250c03a23006891ffb25c53bc Reviewed-on: https://gerrit.mot.com/1705821 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Ling Jin <lingjin@motorola.com> Submit-Approved: Sergio Vilela <sv008@motorola.com>
This commit is contained in:
parent
dc5c7eb474
commit
09322d9ab9
1 changed files with 2 additions and 0 deletions
|
|
@ -2235,9 +2235,11 @@ err_register_charger_notify_failed:
|
|||
err_charger_detection_alloc_failed:
|
||||
err_charger_notify_wq_failed:
|
||||
free_irq(client->irq, ts);
|
||||
#ifdef NVT_SENSOR_EN
|
||||
#ifndef CONFIG_HAS_WAKELOCK
|
||||
err_wakeup_source_register_failed:
|
||||
#endif
|
||||
#endif
|
||||
err_int_request_failed:
|
||||
input_unregister_device(ts->input_dev);
|
||||
ts->input_dev = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue