[brcm63xx] off-by-one gpio numbers for bcm6338
authorFlorian Fainelli <florian@openwrt.org>
Sun, 28 Jun 2009 04:23:11 +0000 (04:23 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 28 Jun 2009 04:23:11 +0000 (04:23 +0000)
SVN-Revision: 16597

target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h

index 337bd8ba6a59a97545ef18dd7ffb870a8e636ff1..43d4da0b1e9fe5f7ce0795b41a259a36b861ad60 100644 (file)
@@ -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: