gpiolib: Export gpiochip_request_own_desc and gpiochip_free_own_desc
[linux-2.6-block.git] / include / linux / gpio / driver.h
index c66c91682d9efe706e7216b3a36c3aad9747b5be..4c463fb0155e2563bffc186428cb2a25589d6697 100644 (file)
@@ -220,6 +220,9 @@ int gpiochip_irqchip_add(struct gpio_chip *gpiochip,
 
 #endif /* CONFIG_GPIO_IRQCHIP */
 
+int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label);
+void gpiochip_free_own_desc(struct gpio_desc *desc);
+
 #else /* CONFIG_GPIOLIB */
 
 static inline struct gpio_chip *gpiod_to_chip(const struct gpio_desc *desc)