projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpio: add protype for name_to_gpio
[platform/kernel/u-boot.git]
/
include
/
asm-generic
/
gpio.h
diff --git
a/include/asm-generic/gpio.h
b/include/asm-generic/gpio.h
index
1ebb9c7
..
347805e
100644
(file)
--- 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_ */