reset_control_get not defined without CONFIG_RESET_CONTROLLER, use reset_control_get_optional instead accordingly. Change-Id: Ibd1c68a2fe8f063dffb556b4c0e49eca96eb0b86 CRs-Fixed: 2350601
@@ -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;