From fba89964c1f9e1adef44d5a59c0ecb1127889a50 Mon Sep 17 00:00:00 2001 From: Lin Bai Date: Thu, 15 Nov 2018 15:44:45 +0800 Subject: [PATCH] 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 --- qal/linux/src/qal_vbus_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qal/linux/src/qal_vbus_dev.c b/qal/linux/src/qal_vbus_dev.c index 0e98c9217d..23ff343ea8 100644 --- a/qal/linux/src/qal_vbus_dev.c +++ b/qal/linux/src/qal_vbus_dev.c @@ -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;