OSDN Git Service

pinctrl/amd: make functions amd_gpio_suspend and amd_gpio_resume static
authorColin Ian King <colin.king@canonical.com>
Wed, 13 Sep 2017 16:15:01 +0000 (17:15 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Sep 2017 11:36:39 +0000 (13:36 +0200)
commit2d71dfa2d9f119bcf41ae2cb130b98f91321890e
treef09a8e4128cf9c0d486d6d471f9a22d59195406d
parent12b136dec281f7503abef269b5272d17635880d8
pinctrl/amd: make functions amd_gpio_suspend and amd_gpio_resume static

The functions amd_gpio_suspend and amd_gpio_resume are local to the
source and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'amd_gpio_suspend' was not declared. Should it be static?
symbol 'amd_gpio_resume' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-amd.c