diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-03 01:55:34 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-01-03 01:55:34 +0000 |
commit | f74e847301d3e1ae457f2330f175307d5d1d24c5 (patch) | |
tree | 3e5c2d211a3dd5ad4df92dffe4ec3016641909c7 /target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch | |
parent | 25afeba608b9db64cc0cab1f7be790f64193f590 (diff) | |
download | mtk-20170518-f74e847301d3e1ae457f2330f175307d5d1d24c5.zip mtk-20170518-f74e847301d3e1ae457f2330f175307d5d1d24c5.tar.gz mtk-20170518-f74e847301d3e1ae457f2330f175307d5d1d24c5.tar.bz2 |
brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 34989
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch b/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch index cd28c66..90d05bc 100644 --- a/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch +++ b/target/linux/brcm47xx/patches-3.6/235-bcma-dont-expose-mips-irq.patch @@ -21,18 +21,18 @@ cc->nr_serial_ports = (cc->capabilities & BCMA_CC_CAP_NRUART); --- a/drivers/bcma/driver_mips.c +++ b/drivers/bcma/driver_mips.c -@@ -81,7 +81,7 @@ static u32 bcma_core_mips_irqflag(struct - /* Get the MIPS IRQ assignment for a specified device. - * If unassigned, 0 is returned. +@@ -86,7 +86,7 @@ static u32 bcma_core_mips_irqflag(struct + * If disabled, 5 is returned. + * If not supported, 6 is returned. */ -unsigned int bcma_core_mips_irq(struct bcma_device *dev) +static unsigned int bcma_core_mips_irq(struct bcma_device *dev) { struct bcma_device *mdev = dev->bus->drv_mips.core; u32 irqflag; -@@ -96,7 +96,12 @@ unsigned int bcma_core_mips_irq(struct b +@@ -106,7 +106,12 @@ unsigned int bcma_core_mips_irq(struct b - return 0; + return 5; } -EXPORT_SYMBOL(bcma_core_mips_irq); + |