pinctrl: qcom: make 'm_voc_groups' static
Subsystems (5)
PATCH 1/1 pinctrl: qcom: make 'm_voc_groups' static
The m_voc_groups is not declared outside of the driver, so make it static to avoid the following sparse wanrning:
drivers/pinctrl/qcom/pinctrl-msm8976.c:592:12: warning: symbol 'm_voc_groups' was not declared. Should it be static?
---
Cc: Andy Gross <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
Cc: [email protected]
--- drivers/pinctrl/qcom/pinctrl-msm8976.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/qcom/pinctrl-msm8976.c +1 -1
@@ -589,7 +589,7 @@ static const char * const blsp_uart5_groups[] = {static const char *const qdss_traceclk_a_groups[] = {"gpio46" , }; -const char *const m_voc_groups[] = { +static const char *const m_voc_groups[] = {"gpio123" ,"gpio124" , };static const char *const blsp_i2c5_groups[] = {
Signature · 1 line
2.24.0
Quoted 6 lines · Ben Dooks (Codethink)
The
m_voc_groupsis not declared outside of the driver, so make it static to avoid the following sparse wanrning:
drivers/pinctrl/qcom/pinctrl-msm8976.c:592:12: warning: symbol 'm_voc_groups' was not declared. Should it be static?
Quoted 27 lines
Signed-off-by Ben Dooks (Codethink) <[email protected]>---
Cc: Andy Gross <[email protected]>
Cc: Bjorn Andersson <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
Cc: [email protected]--- drivers/pinctrl/qcom/pinctrl-msm8976.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/pinctrl/qcom/pinctrl-msm8976.c +1
-1@@ -589,7 +589,7 @@ static const char * const blsp_uart5_groups[] = {static const char *const qdss_traceclk_a_groups[] = {"gpio46" , }; -const char *const m_voc_groups[] = { +static const char *const m_voc_groups[] = {"gpio123" ,"gpio124" , };static const char *const blsp_i2c5_groups[] = {Signature · 1 line
2.24.0
Quoted 7 lines · Ben Dooks (Codethink)
The
m_voc_groupsis not declared outside of the
driver, so make it static to avoid the following
sparse wanrning:
drivers/pinctrl/qcom/pinctrl-msm8976.c:592:12: warning: symbol 'm_voc_groups' was not declared. Should it be static?Signed-off-by Ben Dooks (Codethink) <[email protected]>
Patch applied with Björn's ACK!
Yours,
Linus Walleij