mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
gpio: constify the data parameter to gpiochip_find()
Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
b3950d50cf
commit
6e2cf65140
3 changed files with 6 additions and 5 deletions
|
|
@ -229,7 +229,7 @@ void of_gpiochip_remove(struct gpio_chip *chip)
|
|||
}
|
||||
|
||||
/* Private function for resolving node pointer to gpio_chip */
|
||||
static int of_gpiochip_is_match(struct gpio_chip *chip, void *data)
|
||||
static int of_gpiochip_is_match(struct gpio_chip *chip, const void *data)
|
||||
{
|
||||
return chip->of_node == data;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue