switch ctp touchpannel to i2c0

This commit is contained in:
root
2010-09-02 11:03:25 +08:00
parent 0871799d85
commit cfffd0d338

View File

@@ -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[] = {