summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.9/072-bcma-from-4.12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/patches-4.9/072-bcma-from-4.12.patch')
-rw-r--r--target/linux/generic/patches-4.9/072-bcma-from-4.12.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/patches-4.9/072-bcma-from-4.12.patch b/target/linux/generic/patches-4.9/072-bcma-from-4.12.patch
new file mode 100644
index 0000000..1c3efea
--- /dev/null
+++ b/target/linux/generic/patches-4.9/072-bcma-from-4.12.patch
@@ -0,0 +1,12 @@
+--- a/drivers/bcma/driver_gpio.c
++++ b/drivers/bcma/driver_gpio.c
+@@ -185,8 +185,7 @@ int bcma_gpio_init(struct bcma_drv_cc *c
+ 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: