From cfffd0d33867012e5d7e95ad377ebb62562dbe56 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 2 Sep 2010 11:03:25 +0800 Subject: [PATCH] switch ctp touchpannel to i2c0 --- arch/arm/mach-rk2818/board-raho.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-rk2818/board-raho.c b/arch/arm/mach-rk2818/board-raho.c index 06719e7c2e73..e2bbc9e20a4d 100755 --- a/arch/arm/mach-rk2818/board-raho.c +++ b/arch/arm/mach-rk2818/board-raho.c @@ -652,7 +652,15 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = { .addr = 0x1a, .flags = 0, } -#endif +#endif +#if defined (CONFIG_TOUCHSCREEN_IT7250) //add by robert for ctp_it7250 + { + .type = "Ctp_it7250", + .addr = 0x46, + .flags = 0, + .irq = RK2818_PIN_PE1, + }, +#endif //end add }; static struct i2c_board_info __initdata board_i2c1_devices[] = { #if defined (CONFIG_RTC_HYM8563) @@ -701,15 +709,7 @@ static struct i2c_board_info __initdata board_i2c1_devices[] = { .platform_data = &rk2818_gs_platdata, }, #endif -#if defined (CONFIG_TOUCHSCREEN_IT7250) //add by robert for ctp_it7250 - { - .type = "Ctp_it7250", - .addr = 0x46, - .flags = 0, - .irq = RK2818_PIN_PE1, - }, -#endif //end add - {}, + }; static struct i2c_board_info __initdata board_i2c2_devices[] = { -- 2.34.1