]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
pinctrl: ocelot: make function ocelot_pinctrl_probe static
authorColin Ian King <colin.king@canonical.com>
Thu, 8 Feb 2018 14:24:37 +0000 (14:24 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 22 Feb 2018 13:02:18 +0000 (14:02 +0100)
commitce3e7f0ee9a3d0c0ad5a88e21b7f8cdad3f2c156
treee068a1342de0a92dd68b85150193faaa031805f4
parent5da2bd5ad50671a76bbbf41ca797ccfae1f71214
pinctrl: ocelot: make function ocelot_pinctrl_probe static

The function ocelot_pinctrl_probe is local to the source and does not
need to be in global scope, so make it static.

Cleans up sparse warning:
drivers/pinctrl/pinctrl-ocelot.c:465:5: warning: symbol
'ocelot_pinctrl_probe' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-ocelot.c