summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
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 11f4e4031d..8d946f42ac 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);
}
OpenPOWER on IntegriCloud