rk3168/3188: tb: timed_gpio/leds/irda default gpio set to INVALID_GPIO
author黄涛 <huangtao@rock-chips.com>
Mon, 28 Jan 2013 04:55:43 +0000 (12:55 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 28 Jan 2013 04:55:43 +0000 (12:55 +0800)
arch/arm/mach-rk30/board-rk3168-tb.c

index a8bc0ac3f169edbb0f3dc177f8515d087b45bcbf..9625a97a924cbd2242e3eab717e9d95061215864 100755 (executable)
@@ -668,7 +668,7 @@ static struct rk610_codec_platform_data rk610_codec_pdata = {
 static struct timed_gpio timed_gpios[] = {
        {
                .name = "vibrator",
-               .gpio = RK30_PIN0_PC7,  
+               .gpio = INVALID_GPIO,
                .max_timeout = 1000,
                .active_low = 0,
                .adjust_time =20,      //adjust for diff product
@@ -694,7 +694,7 @@ static struct platform_device rk29_device_vibrator = {
 static struct gpio_led rk29_leds[] = {
        {
                .name = "button-backlight",
-               .gpio = RK30_PIN2_PB3,
+               .gpio = INVALID_GPIO,
                .default_trigger = "timer",
                .active_low = 0,
                .retain_state_suspended = 0,
@@ -717,7 +717,7 @@ static struct platform_device rk29_device_gpio_leds = {
 #endif
 
 #ifdef CONFIG_RK_IRDA
-#define IRDA_IRQ_PIN           RK30_PIN0_PA3
+#define IRDA_IRQ_PIN           INVALID_GPIO //RK30_PIN0_PA3
 
 static int irda_iomux_init(void)
 {