]> Git Repo - J-u-boot.git/commitdiff
gpio: add static to get_function()
authorMasahiro Yamada <[email protected]>
Thu, 22 Jun 2017 07:50:25 +0000 (16:50 +0900)
committerTom Rini <[email protected]>
Thu, 6 Jul 2017 17:09:36 +0000 (13:09 -0400)
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
drivers/gpio/gpio-uclass.c

index f611996f1729b862450679cb730ccee20fad32d7..9faf3357af8bad2dad5a6a02eee2017df7d542b8 100644 (file)
@@ -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);
This page took 0.034113 seconds and 4 git commands to generate.