From c7b19c2d0c053ca21b7287c2fe0c16fbd3b9f4d4 Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 3 Jan 2013 16:56:54 +0000 Subject: brcm47xx: various fixes and code cleanups for irq code This is based on a patch send by Nathan Hintz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34997 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../184-bcma-mips-remove-assigned_irqs.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch (limited to 'target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch') diff --git a/target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch b/target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch new file mode 100644 index 000000000..c402e111f --- /dev/null +++ b/target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch @@ -0,0 +1,21 @@ +--- a/drivers/bcma/driver_mips.c ++++ b/drivers/bcma/driver_mips.c +@@ -280,8 +280,6 @@ void bcma_core_mips_init(struct bcma_drv + + bcma_core_mips_early_init(mcore); + +- mcore->assigned_irqs = 1; +- + switch (bus->chipinfo.id) { + case BCMA_CHIP_ID_BCM4716: + case BCMA_CHIP_ID_BCM4748: +--- a/include/linux/bcma/bcma_driver_mips.h ++++ b/include/linux/bcma/bcma_driver_mips.h +@@ -36,7 +36,6 @@ struct bcma_drv_mips { + struct bcma_device *core; + u8 setup_done:1; + u8 early_setup_done:1; +- unsigned int assigned_irqs; + }; + + #ifdef CONFIG_BCMA_DRIVER_MIPS -- cgit v1.2.3