|
@@ -142,7 +142,7 @@ extern int __must_check gpiochip_reserve(int start, int ngpio);
|
|
/* add/remove chips */
|
|
/* add/remove chips */
|
|
extern int gpiochip_add(struct gpio_chip *chip);
|
|
extern int gpiochip_add(struct gpio_chip *chip);
|
|
extern int __must_check gpiochip_remove(struct gpio_chip *chip);
|
|
extern int __must_check gpiochip_remove(struct gpio_chip *chip);
|
|
-extern struct gpio_chip *gpiochip_find(const void *data,
|
|
|
|
|
|
+extern struct gpio_chip *gpiochip_find(void *data,
|
|
int (*match)(struct gpio_chip *chip,
|
|
int (*match)(struct gpio_chip *chip,
|
|
void *data));
|
|
void *data));
|
|
|
|
|