aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-generic')
-rw-r--r--include/asm-generic/gpio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h
index bde646995d10..b309a5c0019e 100644
--- a/include/asm-generic/gpio.h
+++ b/include/asm-generic/gpio.h
@@ -192,6 +192,9 @@ extern int __gpio_cansleep(unsigned gpio);
192 192
193extern int __gpio_to_irq(unsigned gpio); 193extern int __gpio_to_irq(unsigned gpio);
194 194
195extern int gpio_lock_as_irq(struct gpio_chip *chip, unsigned int offset);
196extern void gpio_unlock_as_irq(struct gpio_chip *chip, unsigned int offset);
197
195extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *label); 198extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *label);
196extern int gpio_request_array(const struct gpio *array, size_t num); 199extern int gpio_request_array(const struct gpio *array, size_t num);
197extern void gpio_free_array(const struct gpio *array, size_t num); 200extern void gpio_free_array(const struct gpio *array, size_t num);