wls_chg: add dependence for mmi_discrete_charger

For cps4019 driver will call the fucntions in mmi_discrete_charger,
so we should add the relatvie dependence.

Change-Id: I8dc350da427ca076c2be3feaa1e7390fd557edbf
Reviewed-on: https://gerrit.mot.com/2258487
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2022-05-03 10:41:52 +08:00 committed by Wei Wei
parent f7091487ea
commit 048d7abb17

View file

@ -6,7 +6,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := cps4019_wls_charger.ko
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/mmi_info.ko
LOCAL_ADDITIONAL_DEPENDENCIES := $(KERNEL_MODULES_OUT)/mmi_discrete_charger_class.ko
KBUILD_OPTIONS_GKI += GKI_OBJ_MODULE_DIR=gki
ifeq ($(DLKM_INSTALL_TO_VENDOR_OUT),true)