Browse Source

asoc: msm-cdc-pinctrl: fix compile error

The modifier - static - request the function to be used within the file.
Remove static modifier to fix the build break.

Change-Id: I46da9dbeb7c3945f8a1bbfa55998e75b5cbdc70b
Signed-off-by: Erin Yan <[email protected]>
Erin Yan 2 years ago
parent
commit
5679261df3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/asoc/msm-cdc-pinctrl.h

+ 2 - 1
include/asoc/msm-cdc-pinctrl.h

@@ -1,5 +1,6 @@
 /* SPDX-License-Identifier: GPL-2.0-only */
 /* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  */
 
 #ifndef __MFD_CDC_PINCTRL_H_
@@ -47,7 +48,7 @@ int msm_cdc_pinctrl_get_state(struct device_node *np)
 {
 	return true;
 }
-static int msm_cdc_pinctrl_set_wakeup_capable(struct device_node *np,
+int msm_cdc_pinctrl_set_wakeup_capable(struct device_node *np,
 					      bool enable)
 {
 	return 0;