mediatek: fix ESW EINT pinctrl define
[oweals/openwrt.git] / target / linux / generic / patches-4.4 / 026-bcma-from-4.12.patch
1 --- a/drivers/bcma/driver_gpio.c
2 +++ b/drivers/bcma/driver_gpio.c
3 @@ -190,8 +190,7 @@ int bcma_gpio_init(struct bcma_drv_cc *c
4         chip->owner             = THIS_MODULE;
5         chip->dev               = bcma_bus_get_host_dev(bus);
6  #if IS_BUILTIN(CONFIG_OF)
7 -       if (cc->core->bus->hosttype == BCMA_HOSTTYPE_SOC)
8 -               chip->of_node   = cc->core->dev.of_node;
9 +       chip->of_node           = cc->core->dev.of_node;
10  #endif
11         switch (bus->chipinfo.id) {
12         case BCMA_CHIP_ID_BCM4707: