summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 20:58:03 (GMT)
committerTom Rini <trini@ti.com>2014-10-25 19:27:36 (GMT)
commit5b5ac64560816ef9b731f8d66780ea959c8ee966 (patch)
tree5090315e1d8f0f2df7240d606d2816888ec2b7a4 /common
parentd50b07df2864561cc8043ab39fe7b62a912fc0a5 (diff)
downloadu-boot-5b5ac64560816ef9b731f8d66780ea959c8ee966.tar.xz
gpio: add protype for name_to_gpio
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_gpio.c b/common/cmd_gpio.c
index 11f4e40..8d946f4 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);
}