mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
gpiolib: Remove 'const' from data argument of gpiochip_find()
Commit 3d0f7cf0 "gpio: Adjust of_xlate API to support multiple GPIO
chips" changed the api of gpiochip_find to drop const from the data
parameter of the match hook, but didn't also drop const from data
causing a build warning.
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
e9fe32bcad
commit
07ce8ec730
2 changed files with 2 additions and 2 deletions
|
|
@ -1154,7 +1154,7 @@ EXPORT_SYMBOL_GPL(gpiochip_remove);
|
|||
* non-zero, this function will return to the caller and not iterate over any
|
||||
* more gpio_chips.
|
||||
*/
|
||||
struct gpio_chip *gpiochip_find(const void *data,
|
||||
struct gpio_chip *gpiochip_find(void *data,
|
||||
int (*match)(struct gpio_chip *chip,
|
||||
void *data))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue