From 5f43f57c97b301aa7b8ac839b94187daf1dd1055 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Mon, 28 Jan 2013 12:55:43 +0800 Subject: [PATCH] rk3168/3188: tb: timed_gpio/leds/irda default gpio set to INVALID_GPIO --- arch/arm/mach-rk30/board-rk3168-tb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-rk30/board-rk3168-tb.c b/arch/arm/mach-rk30/board-rk3168-tb.c index a8bc0ac3f169..9625a97a924c 100755 --- a/arch/arm/mach-rk30/board-rk3168-tb.c +++ b/arch/arm/mach-rk30/board-rk3168-tb.c @@ -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) { -- 2.34.1