projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpiolib: Allow GPIO chips to request their own GPIOs
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpiolib.h
diff --git
a/drivers/gpio/gpiolib.h
b/drivers/gpio/gpiolib.h
index 82be586c1f90edd8946cf5d9a23e208bc6dbbccc..cf092941a9fdda28f6ec3b58ab97f49e5dd963c8 100644
(file)
--- a/
drivers/gpio/gpiolib.h
+++ b/
drivers/gpio/gpiolib.h
@@
-43,4
+43,7
@@
acpi_get_gpiod_by_index(struct device *dev, int index,
}
#endif
+int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label);
+void gpiochip_free_own_desc(struct gpio_desc *desc);
+
#endif /* GPIOLIB_H */