Commit 118f56ba authored by Kyungmin Park's avatar Kyungmin Park Committed by Tony Lindgren

Fix tsx210x touchscreen compile

Update the imput device changes
Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5ca3ac6a
...@@ -94,7 +94,7 @@ static int tsc210x_ts_probe(struct platform_device *pdev) ...@@ -94,7 +94,7 @@ static int tsc210x_ts_probe(struct platform_device *pdev)
} }
dev->name = "TSC210x Touchscreen"; dev->name = "TSC210x Touchscreen";
dev->cdev.dev = &pdev->dev; dev->dev.parent = &pdev->dev;
dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
dev->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH); dev->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH);
dev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); dev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment