]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/bcma/driver_gpio.c
Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
[mirror_ubuntu-artful-kernel.git] / drivers / bcma / driver_gpio.c
index 771a2a253440f736711bd996044d78b6ce3b723a..7bde8d7a2816b5cb42e7d3104c26a960ad32f8b9 100644 (file)
@@ -185,8 +185,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
        chip->owner             = THIS_MODULE;
        chip->parent            = bcma_bus_get_host_dev(bus);
 #if IS_BUILTIN(CONFIG_OF)
-       if (cc->core->bus->hosttype == BCMA_HOSTTYPE_SOC)
-               chip->of_node   = cc->core->dev.of_node;
+       chip->of_node           = cc->core->dev.of_node;
 #endif
        switch (bus->chipinfo.id) {
        case BCMA_CHIP_ID_BCM4707: