summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:58:03 +0200
committerTom Rini <trini@ti.com>2014-10-25 15:27:36 -0400
commit5b5ac64560816ef9b731f8d66780ea959c8ee966 (patch)
tree5090315e1d8f0f2df7240d606d2816888ec2b7a4 /include/asm-generic
parentd50b07df2864561cc8043ab39fe7b62a912fc0a5 (diff)
downloadu-boot-imx-5b5ac64560816ef9b731f8d66780ea959c8ee966.zip
u-boot-imx-5b5ac64560816ef9b731f8d66780ea959c8ee966.tar.gz
u-boot-imx-5b5ac64560816ef9b731f8d66780ea959c8ee966.tar.bz2
gpio: add protype for name_to_gpio
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index 1ebb9c7..347805e 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -193,4 +193,6 @@ const char *gpio_get_bank_info(struct udevice *dev, int *offset_count);
int gpio_lookup_name(const char *name, struct udevice **devp,
unsigned int *offsetp, unsigned int *gpiop);
+int name_to_gpio(const char *name);
+
#endif /* _ASM_GENERIC_GPIO_H_ */