projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49ddcf3
)
gpio: add static to get_function()
author
Masahiro Yamada
<yamada.masahiro@socionext.com>
Thu, 22 Jun 2017 07:50:25 +0000
(16:50 +0900)
committer
Tom Rini
<trini@konsulko.com>
Thu, 6 Jul 2017 17:09:36 +0000
(13:09 -0400)
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/gpio-uclass.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpio-uclass.c
b/drivers/gpio/gpio-uclass.c
index f611996f1729b862450679cb730ccee20fad32d7..9faf3357af8bad2dad5a6a02eee2017df7d542b8 100644
(file)
--- 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);