diff options
author | Masahiro Yamada | 2017-06-22 16:50:25 +0900 |
---|---|---|
committer | Tom Rini | 2017-07-06 13:09:36 -0400 |
commit | fb07f97d6e1cebc41762bc69e36f31beba5ea7b1 (patch) | |
tree | ec79733c86ca840aeb7b7d6c0503bdb448c3a324 /drivers/gpio | |
parent | 49ddcf3e0e923040ef554d9ea033e0d8ba7e80e1 (diff) |
gpio: add static to get_function()
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpio-uclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index f611996f172..9faf3357af8 100644 --- a/drivers/gpio/gpio-uclass.c +++ b/drivers/gpio/gpio-uclass.c @@ -494,8 +494,8 @@ static const char * const gpio_function[GPIOF_COUNT] = { "func", }; -int get_function(struct udevice *dev, int offset, bool skip_unused, - const char **namep) +static int get_function(struct udevice *dev, int offset, bool skip_unused, + const char **namep) { struct gpio_dev_priv *uc_priv = dev_get_uclass_priv(dev); struct dm_gpio_ops *ops = gpio_get_ops(dev); |