brcm47xx: BCMA - Update default IRQ assignment per upstream change
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jan 2013 15:00:01 +0000 (15:00 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Jan 2013 15:00:01 +0000 (15:00 +0000)
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 35121

target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch

index b7cf0bced4a77da9b0f17b667dbd9730c5ebba72..d06eb8f0a6e7664bd4da47cf4433a929c5bea5f1 100644 (file)
  
  static void bcma_core_mips_set_irq(struct bcma_device *dev, unsigned int irq)
  {
+@@ -316,7 +322,7 @@ void bcma_core_mips_init(struct bcma_drv
+               break;
+       default:
+               list_for_each_entry(core, &bus->cores, list) {
+-                      core->irq = bcma_core_mips_irq(core) + 2;
++                      core->irq = bcma_core_irq(core);
+               }
+               bcma_err(bus,
+                        "Unknown device (0x%x) found, can not configure IRQs\n",
 --- a/drivers/bcma/driver_pci_host.c
 +++ b/drivers/bcma/driver_pci_host.c
 @@ -577,7 +577,7 @@ int bcma_core_pci_plat_dev_init(struct p