commit | b613b10be167f021fe37764d30653e1ecbd8be1c | [log] [tgz] |
---|---|---|
author | Jeroen Hofstee <jeroen@myspectrum.nl> | Wed Oct 08 22:58:03 2014 +0200 |
committer | Tom Rini <trini@ti.com> | Sat Oct 25 15:27:36 2014 -0400 |
tree | 5090315e1d8f0f2df7240d606d2816888ec2b7a4 | |
parent | 0aa4b3733fb8e34a82e19eea7dc8dd9b79fad83d [diff] [blame] |
gpio: add protype for name_to_gpio Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
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 @@ 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_ */