Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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?

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
Link: https://lore.kernel.org/r/20191218102804.2487374-1-ben.dooks@codethink.co.uk
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Ben Dooks (Codethink) and committed by
Linus Walleij
a9a79514 f314f20b

+1 -1
+1 -1
drivers/pinctrl/qcom/pinctrl-msm8976.c
··· 589 589 static const char * const qdss_traceclk_a_groups[] = { 590 590 "gpio46", 591 591 }; 592 - const char * const m_voc_groups[] = { 592 + static const char * const m_voc_groups[] = { 593 593 "gpio123", "gpio124", 594 594 }; 595 595 static const char * const blsp_i2c5_groups[] = {