summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-05-18 11:40:22 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-01 15:10:58 -0400
commit1bdcd095e39a789135f8638a2ff76f74e3071d46 (patch)
tree8537cc55020c878f8f034689849e31856be135aa /drivers/bcma/main.c
parent24ca39d67968c42d377abc122f6dca635ebcdb79 (diff)
downloadop-kernel-dev-1bdcd095e39a789135f8638a2ff76f74e3071d46.zip
op-kernel-dev-1bdcd095e39a789135f8638a2ff76f74e3071d46.tar.gz
bcma: add IRQ number and pointer to DMA dev
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r--drivers/bcma/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index be52344..a2f6b18 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -89,6 +89,8 @@ static int bcma_register_cores(struct bcma_bus *bus)
switch (bus->hosttype) {
case BCMA_HOSTTYPE_PCI:
core->dev.parent = &bus->host_pci->dev;
+ core->dma_dev = &bus->host_pci->dev;
+ core->irq = bus->host_pci->irq;
break;
case BCMA_HOSTTYPE_NONE:
case BCMA_HOSTTYPE_SDIO:
OpenPOWER on IntegriCloud