mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 14:41:27 +00:00
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>
This commit is contained in:
parent
24ca39d679
commit
1bdcd095e3
2 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,8 @@ static int bcma_register_cores(struct bcma_bus *bus)
|
||||||
switch (bus->hosttype) {
|
switch (bus->hosttype) {
|
||||||
case BCMA_HOSTTYPE_PCI:
|
case BCMA_HOSTTYPE_PCI:
|
||||||
core->dev.parent = &bus->host_pci->dev;
|
core->dev.parent = &bus->host_pci->dev;
|
||||||
|
core->dma_dev = &bus->host_pci->dev;
|
||||||
|
core->irq = bus->host_pci->irq;
|
||||||
break;
|
break;
|
||||||
case BCMA_HOSTTYPE_NONE:
|
case BCMA_HOSTTYPE_NONE:
|
||||||
case BCMA_HOSTTYPE_SDIO:
|
case BCMA_HOSTTYPE_SDIO:
|
||||||
|
|
|
@ -117,6 +117,8 @@ struct bcma_device {
|
||||||
struct bcma_device_id id;
|
struct bcma_device_id id;
|
||||||
|
|
||||||
struct device dev;
|
struct device dev;
|
||||||
|
struct device *dma_dev;
|
||||||
|
unsigned int irq;
|
||||||
bool dev_registered;
|
bool dev_registered;
|
||||||
|
|
||||||
u8 core_index;
|
u8 core_index;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue