diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2012-04-28 23:30:05 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2012-04-28 23:30:05 +0000 |
commit | 49c6fd7f2773d8c65948324c8c1f00ad33db51fc (patch) | |
tree | 10969e092d389ad8752cd88329cabf900d9a83dc /package/broadcom-diag/src | |
parent | 893dfb755155f421f2897dd667af3f4dc7913cab (diff) | |
download | master-187ad058-49c6fd7f2773d8c65948324c8c1f00ad33db51fc.tar.gz master-187ad058-49c6fd7f2773d8c65948324c8c1f00ad33db51fc.tar.bz2 master-187ad058-49c6fd7f2773d8c65948324c8c1f00ad33db51fc.zip |
broadcom-diag: add missing break into switch case statement.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31506 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-diag/src')
-rw-r--r-- | package/broadcom-diag/src/gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/broadcom-diag/src/gpio.h b/package/broadcom-diag/src/gpio.h index 71917787cd..4e382edeeb 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 } } |