brcm47xx: various fixes and code cleanups for irq code
[openwrt.git] / target / linux / brcm47xx / patches-3.6 / 184-bcma-mips-remove-assigned_irqs.patch
1 --- a/drivers/bcma/driver_mips.c
2 +++ b/drivers/bcma/driver_mips.c
3 @@ -280,8 +280,6 @@ void bcma_core_mips_init(struct bcma_drv
4  
5         bcma_core_mips_early_init(mcore);
6  
7 -       mcore->assigned_irqs = 1;
8 -
9         switch (bus->chipinfo.id) {
10         case BCMA_CHIP_ID_BCM4716:
11         case BCMA_CHIP_ID_BCM4748:
12 --- a/include/linux/bcma/bcma_driver_mips.h
13 +++ b/include/linux/bcma/bcma_driver_mips.h
14 @@ -36,7 +36,6 @@ struct bcma_drv_mips {
15         struct bcma_device *core;
16         u8 setup_done:1;
17         u8 early_setup_done:1;
18 -       unsigned int assigned_irqs;
19  };
20  
21  #ifdef CONFIG_BCMA_DRIVER_MIPS