rk3066b: gpio: never define RK30_PIN4_PA0 to RK30_PIN6_PB7
author黄涛 <huangtao@rock-chips.com>
Thu, 6 Sep 2012 08:30:12 +0000 (16:30 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 6 Sep 2012 08:30:21 +0000 (16:30 +0800)
arch/arm/mach-rk30/include/mach/gpio.h

index e2cc0ffc0fb8734fafb5d7897c2862acae411d90..43c915d1102bb5eafaa84bc12b33689b7dab0bfa 100755 (executable)
 #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) 
 #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)