mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Fix unresolved function compiler error
reset_control_get not defined without CONFIG_RESET_CONTROLLER, use reset_control_get_optional instead accordingly. Change-Id: Ibd1c68a2fe8f063dffb556b4c0e49eca96eb0b86 CRs-Fixed: 2350601
This commit is contained in:
parent
e4599388bd
commit
fba89964c1
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ qal_vbus_get_dev_rstctl(struct qdf_pfm_hndl *pfhndl, const char *state,
|
|||
if (!pfhndl || !state)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
rsctl = reset_control_get((struct device *)pfhndl, state);
|
||||
rsctl = reset_control_get_optional((struct device *)pfhndl, state);
|
||||
|
||||
if (!rsctl)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue