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

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: amdisp: Make amdisp_pinctrl_ops variable static

File-scope 'amdisp_pinctrl_ops' is not used outside of this unit, so
make it static to silence sparse warning:

pinctrl-amdisp.c:83:26: warning: symbol 'amdisp_pinctrl_ops' was not declared. Should it be static?

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Linus Walleij
a48150d0 7a648d59

+1 -1
+1 -1
drivers/pinctrl/pinctrl-amdisp.c
··· 80 80 return 0; 81 81 } 82 82 83 - const struct pinctrl_ops amdisp_pinctrl_ops = { 83 + static const struct pinctrl_ops amdisp_pinctrl_ops = { 84 84 .get_groups_count = amdisp_get_groups_count, 85 85 .get_group_name = amdisp_get_group_name, 86 86 .get_group_pins = amdisp_get_group_pins,