bcma: add IRQ number and pointer to DMA dev
Rafał Miłecki
maintainerPATCH 1/1 bcma: add IRQ number and pointer to DMA dev
Signed-off-by Rafał Miłecki <[email protected]>
--- drivers/bcma/main.c | 2 ++ include/linux/bcma/bcma.h | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)
drivers/bcma/main.c +2 -0
@@ -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 :
include/linux/bcma/bcma.h +2 -0
@@ -117,6 +117,8 @@ struct bcma_device {struct bcma_device_id id;struct device dev; +struct device *dma_dev; +unsigned int irq;bool dev_registered;u8 core_index;
Signature · 1 line
1.7.3.4