diff --git a/arch/arm/mach-msm/board-msm7x27a.c b/arch/arm/mach-msm/board-msm7x27a.c index aada8901697..05b48960078 100644 --- a/arch/arm/mach-msm/board-msm7x27a.c +++ b/arch/arm/mach-msm/board-msm7x27a.c @@ -3041,7 +3041,7 @@ static u8 atmel_ts_valid_interrupt(void) #define ATMEL_X_OFFSET 13 #define ATMEL_Y_OFFSET 0 -static struct mxt_platform_data atmel_ts_pdata = { +static struct maxtouch_platform_data atmel_ts_pdata = { .numtouch = 4, .init_platform_hw = atmel_ts_platform_init, .exit_platform_hw = atmel_ts_platform_exit, diff --git a/drivers/input/touchscreen/atmel_maxtouch.c b/drivers/input/touchscreen/atmel_maxtouch.c index 35507e1248c..e3977748b7c 100644 --- a/drivers/input/touchscreen/atmel_maxtouch.c +++ b/drivers/input/touchscreen/atmel_maxtouch.c @@ -1878,7 +1878,7 @@ static int __devinit mxt_probe(struct i2c_client *client, const struct i2c_device_id *id) { struct mxt_data *mxt; - struct mxt_platform_data *pdata; + struct maxtouch_platform_data *pdata; struct input_dev *input; u8 *id_data; u8 *t38_data; diff --git a/include/linux/atmel_maxtouch.h b/include/linux/atmel_maxtouch.h index c582529ed4f..012e68bb3ce 100644 --- a/include/linux/atmel_maxtouch.h +++ b/include/linux/atmel_maxtouch.h @@ -283,7 +283,7 @@ static int mxt_write_block_bl(struct i2c_client *client, u16 length, u8 *value); #endif /** - * struct mxt_platform_data - includes platform specific informatio + * struct maxtouch_platform_data - includes platform specific informatio * related to Atmel maXTouch touchscreen controller. * * @numtouch: Number of simultaneous touches supported @@ -298,7 +298,7 @@ static int mxt_write_block_bl(struct i2c_client *client, u16 length, u8 *value); * @max_y: Reported Y range */ -struct mxt_platform_data { +struct maxtouch_platform_data { u8 numtouch; /* Number of touches to report */ int (*init_platform_hw)(struct i2c_client *client); int (*exit_platform_hw)(struct i2c_client *client);