mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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>
This commit is contained in:
parent
7a648d598c
commit
a48150d051
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ static int amdisp_get_group_pins(struct pinctrl_dev *pctldev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
const struct pinctrl_ops amdisp_pinctrl_ops = {
|
||||
static const struct pinctrl_ops amdisp_pinctrl_ops = {
|
||||
.get_groups_count = amdisp_get_groups_count,
|
||||
.get_group_name = amdisp_get_group_name,
|
||||
.get_group_pins = amdisp_get_group_pins,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue