aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2005.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/tsc2005.c')
-rw-r--r--drivers/input/touchscreen/tsc2005.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchscreen/tsc2005.c
index e294648a97c9..09cbcb0b19fe 100644
--- a/drivers/input/touchscreen/tsc2005.c
+++ b/drivers/input/touchscreen/tsc2005.c
@@ -555,6 +555,7 @@ static int __devinit tsc2005_setup(struct tsc2005 *ts,
555 snprintf(ts->phys, sizeof(ts->phys), "%s/input-ts", 555 snprintf(ts->phys, sizeof(ts->phys), "%s/input-ts",
556 dev_name(&ts->spi->dev)); 556 dev_name(&ts->spi->dev));
557 ts->idev->phys = ts->phys; 557 ts->idev->phys = ts->phys;
558 ts->idev->id.bustype = BUS_SPI;
558 ts->idev->dev.parent = &ts->spi->dev; 559 ts->idev->dev.parent = &ts->spi->dev;
559 ts->idev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); 560 ts->idev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY);
560 ts->idev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); 561 ts->idev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);