Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 138f79db authored by YueHaibing's avatar YueHaibing Committed by Linus Walleij
Browse files

pinctrl: bcm2835: Fix build error without CONFIG_OF



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: default avatarHulk Robot <hulkci@huawei.com>
Fixes: 0de70495 ("pinctrl: bcm2835: Add support for generic pinctrl binding")
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 489b64d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment