diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-12-20 08:28:39 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-12-20 08:28:39 +0000 |
commit | 2a33d0dd821b1a4b2444da6c4cebee3c99216a2d (patch) | |
tree | 79dd08210f0b42d797ab6d574cafdb190931f790 /target/linux/ar71xx/files-2.6.28/arch/mips/include | |
parent | 581a7a36a9d3f570d5294fabf54a33d8519a511b (diff) | |
download | master-31e0f0ae-2a33d0dd821b1a4b2444da6c4cebee3c99216a2d.tar.gz master-31e0f0ae-2a33d0dd821b1a4b2444da6c4cebee3c99216a2d.tar.bz2 master-31e0f0ae-2a33d0dd821b1a4b2444da6c4cebee3c99216a2d.zip |
fix GPIO function select bit definitions (based on a patch by Jonas <jmajau at ubnt.com>)
SVN-Revision: 13699
Diffstat (limited to 'target/linux/ar71xx/files-2.6.28/arch/mips/include')
-rw-r--r-- | target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h index 8379aedab1..f5de7c0330 100644 --- a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h +++ b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/ar71xx.h @@ -201,9 +201,8 @@ extern void ar71xx_add_device_usb(void) __init; #define GPIO_FUNC_STEREO_EN BIT(17) #define GPIO_FUNC_SLIC_EN BIT(16) -#define GPIO_FUNC_SPI_CS1_EN BIT(15) -#define GPIO_FUNC_SPI_CS0_EN BIT(14) -#define GPIO_FUNC_SPI_EN BIT(13) +#define GPIO_FUNC_SPI_CS2_EN BIT(13) +#define GPIO_FUNC_SPI_CS1_EN BIT(12) #define GPIO_FUNC_UART_EN BIT(8) #define GPIO_FUNC_USB_OC_EN BIT(4) #define GPIO_FUNC_USB_CLK_EN BIT(0) |