From 5679261df394ceb311fb0b93f417f43e79e79942 Mon Sep 17 00:00:00 2001 From: Erin Yan Date: Fri, 2 Dec 2022 18:20:25 +0800 Subject: [PATCH] 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 --- include/asoc/msm-cdc-pinctrl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/asoc/msm-cdc-pinctrl.h b/include/asoc/msm-cdc-pinctrl.h index 3179a8408e..13d708701f 100644 --- a/include/asoc/msm-cdc-pinctrl.h +++ b/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;