aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/bcma/main.c2
-rw-r--r--include/linux/bcma/bcma.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index be52344ed19d..a2f6b1879273 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -89,6 +89,8 @@ static int bcma_register_cores(struct bcma_bus *bus)
89 switch (bus->hosttype) { 89 switch (bus->hosttype) {
90 case BCMA_HOSTTYPE_PCI: 90 case BCMA_HOSTTYPE_PCI:
91 core->dev.parent = &bus->host_pci->dev; 91 core->dev.parent = &bus->host_pci->dev;
92 core->dma_dev = &bus->host_pci->dev;
93 core->irq = bus->host_pci->irq;
92 break; 94 break;
93 case BCMA_HOSTTYPE_NONE: 95 case BCMA_HOSTTYPE_NONE:
94 case BCMA_HOSTTYPE_SDIO: 96 case BCMA_HOSTTYPE_SDIO:
diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h
index 08763e4e848f..8b0cef9fd692 100644
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -117,6 +117,8 @@ struct bcma_device {
117 struct bcma_device_id id; 117 struct bcma_device_id id;
118 118
119 struct device dev; 119 struct device dev;
120 struct device *dma_dev;
121 unsigned int irq;
120 bool dev_registered; 122 bool dev_registered;
121 123
122 u8 core_index; 124 u8 core_index;