diff options
Diffstat (limited to 'include/linux/gpio')
-rw-r--r-- | include/linux/gpio/consumer.h | 1 | ||||
-rw-r--r-- | include/linux/gpio/driver.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/gpio/consumer.h b/include/linux/gpio/consumer.h index 14cac67c2012..fb0fde686cb1 100644 --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h | |||
@@ -400,6 +400,7 @@ static inline struct gpio_desc *gpio_to_desc(unsigned gpio) | |||
400 | { | 400 | { |
401 | return ERR_PTR(-EINVAL); | 401 | return ERR_PTR(-EINVAL); |
402 | } | 402 | } |
403 | |||
403 | static inline int desc_to_gpio(const struct gpio_desc *desc) | 404 | static inline int desc_to_gpio(const struct gpio_desc *desc) |
404 | { | 405 | { |
405 | /* GPIO can never have been requested */ | 406 | /* GPIO can never have been requested */ |
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 1aed31c5ffba..d1baebf350d8 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
@@ -206,6 +206,9 @@ int _gpiochip_irqchip_add(struct gpio_chip *gpiochip, | |||
206 | 206 | ||
207 | #endif /* CONFIG_GPIOLIB_IRQCHIP */ | 207 | #endif /* CONFIG_GPIOLIB_IRQCHIP */ |
208 | 208 | ||
209 | int gpiochip_generic_request(struct gpio_chip *chip, unsigned offset); | ||
210 | void gpiochip_generic_free(struct gpio_chip *chip, unsigned offset); | ||
211 | |||
209 | #ifdef CONFIG_PINCTRL | 212 | #ifdef CONFIG_PINCTRL |
210 | 213 | ||
211 | /** | 214 | /** |