diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/gpio/driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index c66c91682d9e..4c463fb0155e 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
| @@ -220,6 +220,9 @@ int gpiochip_irqchip_add(struct gpio_chip *gpiochip, | |||
| 220 | 220 | ||
| 221 | #endif /* CONFIG_GPIO_IRQCHIP */ | 221 | #endif /* CONFIG_GPIO_IRQCHIP */ |
| 222 | 222 | ||
| 223 | int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label); | ||
| 224 | void gpiochip_free_own_desc(struct gpio_desc *desc); | ||
| 225 | |||
| 223 | #else /* CONFIG_GPIOLIB */ | 226 | #else /* CONFIG_GPIOLIB */ |
| 224 | 227 | ||
| 225 | static inline struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) | 228 | static inline struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc) |
