blob: ab8a212940fec1cb3ee1c88d411bb761f20a39ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/drivers/bcma/driver_gpio.c
+++ b/drivers/bcma/driver_gpio.c
@@ -190,8 +190,7 @@ int bcma_gpio_init(struct bcma_drv_cc *c
chip->owner = THIS_MODULE;
chip->dev = 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:
|