Re: [PATCH -next] pinctrl: bcm2835: Fix build error without CONFIG_OF
From: Linus Walleij
Date: Sun Jun 02 2019 - 04:43:15 EST
On Tue, May 28, 2019 at 11:18 AM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
> drivers/pinctrl/bcm/pinctrl-bcm2835.c: In function bcm2835_pctl_dt_node_to_map:
> drivers/pinctrl/bcm/pinctrl-bcm2835.c:720:8: error: implicit declaration of function pinconf_generic_dt_node_to_map_all;
> drivers/pinctrl/bcm/pinctrl-bcm2835.c: In function bcm2835_pinctrl_probe:
> drivers/pinctrl/bcm/pinctrl-bcm2835.c:1022:15: error: struct gpio_chip has no member named of_node
> pc->gpio_chip.of_node = np;
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Fixes: 0de704955ee4 ("pinctrl: bcm2835: Add support for generic pinctrl binding")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij