From 696e363cd8e1ebe604a79b89372097e82f260e05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Thu, 6 Sep 2012 16:30:12 +0800 Subject: [PATCH] rk3066b: gpio: never define RK30_PIN4_PA0 to RK30_PIN6_PB7 --- arch/arm/mach-rk30/include/mach/gpio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-rk30/include/mach/gpio.h b/arch/arm/mach-rk30/include/mach/gpio.h index e2cc0ffc0fb8..43c915d1102b 100755 --- a/arch/arm/mach-rk30/include/mach/gpio.h +++ b/arch/arm/mach-rk30/include/mach/gpio.h @@ -205,6 +205,7 @@ #define RK30_PIN3_PD6 (3*NUM_GROUP + PIN_BASE + 30) #define RK30_PIN3_PD7 (3*NUM_GROUP + PIN_BASE + 31) +#if !defined(CONFIG_ARCH_RK3066B) #define RK30_PIN4_PA0 (4*NUM_GROUP + PIN_BASE + 0) #define RK30_PIN4_PA1 (4*NUM_GROUP + PIN_BASE + 1) #define RK30_PIN4_PA2 (4*NUM_GROUP + PIN_BASE + 2) @@ -254,6 +255,7 @@ #define RK30_PIN6_PB5 (5*NUM_GROUP + PIN_BASE + 13) #define RK30_PIN6_PB6 (5*NUM_GROUP + PIN_BASE + 14) #define RK30_PIN6_PB7 (5*NUM_GROUP + PIN_BASE + 15) +#endif #if defined(CONFIG_SPI_FPGA_GPIO) #define FPGA_PIO0_00 (SPI_FPGA_EXPANDER_BASE + 0*NUM_GROUP + 0) -- 2.34.1