diff options
Diffstat (limited to 'include/asm-generic/gpio.h')
-rw-r--r-- | include/asm-generic/gpio.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 5f52690c3c8f..365ea09ed3b0 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h | |||
@@ -142,9 +142,9 @@ extern int __must_check gpiochip_reserve(int start, int ngpio); | |||
142 | /* add/remove chips */ | 142 | /* add/remove chips */ |
143 | extern int gpiochip_add(struct gpio_chip *chip); | 143 | extern int gpiochip_add(struct gpio_chip *chip); |
144 | extern int __must_check gpiochip_remove(struct gpio_chip *chip); | 144 | extern int __must_check gpiochip_remove(struct gpio_chip *chip); |
145 | extern struct gpio_chip *gpiochip_find(const void *data, | 145 | extern struct gpio_chip *gpiochip_find(void *data, |
146 | int (*match)(struct gpio_chip *chip, | 146 | int (*match)(struct gpio_chip *chip, |
147 | const void *data)); | 147 | void *data)); |
148 | 148 | ||
149 | 149 | ||
150 | /* Always use the library code for GPIO management calls, | 150 | /* Always use the library code for GPIO management calls, |
@@ -179,6 +179,8 @@ extern void gpio_free_array(const struct gpio *array, size_t num); | |||
179 | 179 | ||
180 | /* bindings for managed devices that want to request gpios */ | 180 | /* bindings for managed devices that want to request gpios */ |
181 | int devm_gpio_request(struct device *dev, unsigned gpio, const char *label); | 181 | int devm_gpio_request(struct device *dev, unsigned gpio, const char *label); |
182 | int devm_gpio_request_one(struct device *dev, unsigned gpio, | ||
183 | unsigned long flags, const char *label); | ||
182 | void devm_gpio_free(struct device *dev, unsigned int gpio); | 184 | void devm_gpio_free(struct device *dev, unsigned int gpio); |
183 | 185 | ||
184 | #ifdef CONFIG_GPIO_SYSFS | 186 | #ifdef CONFIG_GPIO_SYSFS |