summaryrefslogtreecommitdiff
path: root/package/broadcom-diag/src/gpio.h
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2012-04-28 23:30:05 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2012-04-28 23:30:05 +0000
commit164dd71afe46c929302c2ea58aa75ac58d2e62c4 (patch)
tree7ea33be25d77f80cbd8fe70c2340d9b10f379399 /package/broadcom-diag/src/gpio.h
parent232b7aa65ba1c274fa2063680882a0f73731fcdd (diff)
downloadmtk-20170518-164dd71afe46c929302c2ea58aa75ac58d2e62c4.zip
mtk-20170518-164dd71afe46c929302c2ea58aa75ac58d2e62c4.tar.gz
mtk-20170518-164dd71afe46c929302c2ea58aa75ac58d2e62c4.tar.bz2
broadcom-diag: add missing break into switch case statement.
SVN-Revision: 31506
Diffstat (limited to 'package/broadcom-diag/src/gpio.h')
-rw-r--r--package/broadcom-diag/src/gpio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h
index 7191778..4e382ed 100644
--- a/package/broadcom-diag/src/gpio.h
+++ b/package/broadcom-diag/src/gpio.h
@@ -139,11 +139,13 @@ static void gpio_set_irqenable(int enabled, irqreturn_t (*handler)(int, void *))
case BCM47XX_BUS_TYPE_SSB:
if (bcm47xx_bus.ssb.chipco.dev)
__ssb_write32_masked(bcm47xx_bus.ssb.chipco.dev, SSB_CHIPCO_IRQMASK, SSB_CHIPCO_IRQ_GPIO, (enabled ? SSB_CHIPCO_IRQ_GPIO : 0));
+ break;
#endif
#ifdef CONFIG_BCM47XX_BCMA
case BCM47XX_BUS_TYPE_BCMA:
if (bcm47xx_bus.bcma.bus.drv_cc.core)
__bcma_write32_masked(bcm47xx_bus.bcma.bus.drv_cc.core, BCMA_CC_IRQMASK, BCMA_CC_IRQ_GPIO, (enabled ? BCMA_CC_IRQ_GPIO : 0));
+ break;
#endif
}
}