imx6: fix USB for 4.9 kernel
[oweals/openwrt.git] / target / linux / generic / patches-4.9 / 072-bcma-from-4.12.patch
1 --- a/drivers/bcma/driver_gpio.c
2 +++ b/drivers/bcma/driver_gpio.c
3 @@ -185,8 +185,7 @@ int bcma_gpio_init(struct bcma_drv_cc *c
4         chip->owner             = THIS_MODULE;
5         chip->parent            = 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: