diff options
Diffstat (limited to 'drivers/input/touchscreen/atmel_tsadcc.c')
-rw-r--r-- | drivers/input/touchscreen/atmel_tsadcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_tsadcc.c b/drivers/input/touchscreen/atmel_tsadcc.c index bddabc595077..f7d1ea5849ba 100644 --- a/drivers/input/touchscreen/atmel_tsadcc.c +++ b/drivers/input/touchscreen/atmel_tsadcc.c | |||
@@ -182,7 +182,7 @@ static int atmel_tsadcc_probe(struct platform_device *pdev) | |||
182 | struct atmel_tsadcc *ts_dev; | 182 | struct atmel_tsadcc *ts_dev; |
183 | struct input_dev *input_dev; | 183 | struct input_dev *input_dev; |
184 | struct resource *res; | 184 | struct resource *res; |
185 | struct at91_tsadcc_data *pdata = pdev->dev.platform_data; | 185 | struct at91_tsadcc_data *pdata = dev_get_platdata(&pdev->dev); |
186 | int err; | 186 | int err; |
187 | unsigned int prsc; | 187 | unsigned int prsc; |
188 | unsigned int reg; | 188 | unsigned int reg; |