diff mbox series

[-next] interconnect: qcom: Make qcs404_rpm static

Message ID 20190413141954.38900-1-yuehaibing@huawei.com (mailing list archive)
State Not Applicable, archived
Headers show
Series [-next] interconnect: qcom: Make qcs404_rpm static | expand

Commit Message

YueHaibing April 13, 2019, 2:19 p.m. UTC
From: YueHaibing <yuehaibing@huawei.com>

Fix sparse warning:

drivers/interconnect/qcom/qcs404.c:27:21:
 warning: symbol 'qcs404_rpm' was not declared. Should it be static?

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/interconnect/qcom/qcs404.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/interconnect/qcom/qcs404.c b/drivers/interconnect/qcom/qcs404.c
index de35fd7..c320cbd 100644
--- a/drivers/interconnect/qcom/qcs404.c
+++ b/drivers/interconnect/qcom/qcs404.c
@@ -24,7 +24,7 @@ 
 #define to_qcom_provider(_provider) \
 	container_of(_provider, struct qcom_icc_provider, provider)
 
-struct qcom_smd_rpm *qcs404_rpm;
+static struct qcom_smd_rpm *qcs404_rpm;
 
 struct icc_rpm_smd_req {
 	__le32 key;