summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 16:56:54 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-01-03 16:56:54 +0000
commitc7b19c2d0c053ca21b7287c2fe0c16fbd3b9f4d4 (patch)
tree2ae2c2f51ddf1f498163c848b8241bfa9991341f /target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch
parent096fa4a7f7a970bbeaf814d8dbbdae43f9f98fbb (diff)
brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34997 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.6/184-bcma-mips-remove-assigned_irqs.patch21
1 files changed, 21 insertions, 0 deletions
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