]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpio/gpiolib.h
gpio: make of_get_named_gpiod_flags() private
[karo-tx-linux.git] / drivers / gpio / gpiolib.h
index cf092941a9fdda28f6ec3b58ab97f49e5dd963c8..1a4103dd38df4695a35a316d4903fabc872aaec0 100644 (file)
@@ -15,6 +15,8 @@
 #include <linux/err.h>
 #include <linux/device.h>
 
+enum of_gpio_flags;
+
 /**
  * struct acpi_gpio_info - ACPI GPIO specific information
  * @gpioint: if %true this GPIO is of type GpioInt otherwise type is GpioIo
@@ -46,4 +48,7 @@ acpi_get_gpiod_by_index(struct device *dev, int index,
 int gpiochip_request_own_desc(struct gpio_desc *desc, const char *label);
 void gpiochip_free_own_desc(struct gpio_desc *desc);
 
+struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np,
+                  const char *list_name, int index, enum of_gpio_flags *flags);
+
 #endif /* GPIOLIB_H */