sx937x:fix wrong POWER_SUPPLY_ONLINE define

fix wrong POWER_SUPPLY_ONLINE define in Kbuild
change to CONFIG_SX937X_POWER_SUPPLY_ONLINE

Change-Id: If716625a7ad9446debc6ad5439674a08fd34a12c
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1972006
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Ningkai Zhuang <zhuangnk1@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
cuijy1 2021-06-07 18:36:06 +08:00 • committed by Jiyue Cui
commit f23823a376

View file

@ -10,7 +10,7 @@ ifneq ($(filter m y,$(CONFIG_SX937X_USB_CAL)),)
EXTRA_CFLAGS += -DCONFIG_CAPSENSE_USB_CAL
endif
ifneq ($(filter m y,$(CONFIG_SX937X_USB_CAL)),)
ifneq ($(filter m y,$(CONFIG_SX937X_POWER_SUPPLY_ONLINE)),)
EXTRA_CFLAGS += -DCONFIG_USE_POWER_SUPPLY_ONLINE
endif