diff options
| author | Jeroen Hofstee <[email protected]> | 2014-10-08 22:58:03 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2014-10-25 15:27:36 -0400 |
| commit | 5b5ac64560816ef9b731f8d66780ea959c8ee966 (patch) | |
| tree | 5090315e1d8f0f2df7240d606d2816888ec2b7a4 /common | |
| parent | d50b07df2864561cc8043ab39fe7b62a912fc0a5 (diff) | |
gpio: add protype for name_to_gpio
Signed-off-by: Jeroen Hofstee <[email protected]>
Diffstat (limited to 'common')
| -rw-r--r-- | common/cmd_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c index 11f4e4031da..8d946f42acc 100644 --- a/common/cmd_gpio.c +++ b/common/cmd_gpio.c @@ -12,7 +12,7 @@ #include <dm.h> #include <asm/gpio.h> -int __weak name_to_gpio(const char *name) +__weak int name_to_gpio(const char *name) { return simple_strtoul(name, NULL, 10); } |
