aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-28 04:23:11 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-28 04:23:11 +0000
commit61bd4183a57e822513fbd3435eaf89cd3eb60bb5 (patch)
tree1f8cd63aa7e064c6bfb0788d466d30d3f2a50815
parent8b4de5446f9919599a2f708be8c8eb80a5605acb (diff)
downloadupstream-61bd4183a57e822513fbd3435eaf89cd3eb60bb5.tar.gz
upstream-61bd4183a57e822513fbd3435eaf89cd3eb60bb5.tar.bz2
upstream-61bd4183a57e822513fbd3435eaf89cd3eb60bb5.zip
[brcm63xx] off-by-one gpio numbers for bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16597 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
index 337bd8ba6a..43d4da0b1e 100644
--- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
@@ -11,7 +11,7 @@ static inline unsigned long bcm63xx_gpio_count(void)
case BCM6358_CPU_ID:
return 40;
case BCM6338_CPU_ID:
- return 7;
+ return 8;
case BCM6345_CPU_ID:
return 16;
case BCM6348_CPU_ID: