aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/gpio/driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h
index e78a2373e374..a2de58fffd19 100644
--- a/include/linux/gpio/driver.h
+++ b/include/linux/gpio/driver.h
@@ -166,7 +166,8 @@ int gpiochip_irqchip_add(struct gpio_chip *gpiochip,
166 166
167#endif /* CONFIG_GPIO_IRQCHIP */ 167#endif /* CONFIG_GPIO_IRQCHIP */
168 168
169int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label); 169struct gpio_desc *gpiochip_request_own_desc(struct gpio_chip *chip, u16 hwnum,
170 const char *label);
170void gpiochip_free_own_desc(struct gpio_desc *desc); 171void gpiochip_free_own_desc(struct gpio_desc *desc);
171 172
172#else /* CONFIG_GPIOLIB */ 173#else /* CONFIG_GPIOLIB */