Message ID | CACRpkdYAoWOpory7UrTQ_enE9tpu+xTX+D0ii4FA3kcuDVc0ow@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | Pin control: core.c Eliminate three compiler warnings | expand |
diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 3663d87f51a0..e5d742056b03 100644 --- a/drivers/pinctrl/core.c +++ b/drivers/pinctrl/core.c @@ -1623,6 +1623,9 @@ static int pinctrl_pins_show(struct seq_file *s, void *what) seq_printf(s, "pin %d (%s) ", pin, desc->name); #ifdef CONFIG_GPIOLIB + struct pinctrl_gpio_range *range; + unsigned int gpio_num; + struct gpio_chip *chip; gpio_num = 0;