gpiolib: Allow GPIO chips to request their own GPIOs
[firefly-linux-kernel-4.4.55.git] / drivers / gpio / gpiolib.h
index 82be586c1f90edd8946cf5d9a23e208bc6dbbccc..cf092941a9fdda28f6ec3b58ab97f49e5dd963c8 100644 (file)
@@ -43,4 +43,7 @@ acpi_get_gpiod_by_index(struct device *dev, int index,
 }
 #endif
 
+int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label);
+void gpiochip_free_own_desc(struct gpio_desc *desc);
+
 #endif /* GPIOLIB_H */