diff options
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/gpio.h | 3 |
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 | ||
193 | extern int __gpio_to_irq(unsigned gpio); | 193 | extern int __gpio_to_irq(unsigned gpio); |
194 | 194 | ||
195 | extern int gpio_lock_as_irq(struct gpio_chip *chip, unsigned int offset); | ||
196 | extern void gpio_unlock_as_irq(struct gpio_chip *chip, unsigned int offset); | ||
197 | |||
195 | extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *label); | 198 | extern int gpio_request_one(unsigned gpio, unsigned long flags, const char *label); |
196 | extern int gpio_request_array(const struct gpio *array, size_t num); | 199 | extern int gpio_request_array(const struct gpio *array, size_t num); |
197 | extern void gpio_free_array(const struct gpio *array, size_t num); | 200 | extern void gpio_free_array(const struct gpio *array, size_t num); |