Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MIPS: BCM63XX: fix BCM6358 GPIO count

The BCM6358 SoC has only 38 available GPIOs. Fix it.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Daniel González Cabanelas and committed by
Thomas Bogendoerfer
6af2aa7f f33a0b94

+3 -3
+3 -3
arch/mips/include/asm/mach-bcm63xx/bcm63xx_gpio.h
··· 13 13 case BCM6328_CPU_ID: 14 14 return 32; 15 15 case BCM3368_CPU_ID: 16 - case BCM6358_CPU_ID: 17 16 return 40; 18 17 case BCM6338_CPU_ID: 19 18 return 8; 20 19 case BCM6345_CPU_ID: 21 20 return 16; 22 - case BCM6362_CPU_ID: 23 - return 48; 21 + case BCM6358_CPU_ID: 24 22 case BCM6368_CPU_ID: 25 23 return 38; 24 + case BCM6362_CPU_ID: 25 + return 48; 26 26 case BCM6348_CPU_ID: 27 27 default: 28 28 return 37;