From 118f56ba443c810ea4437d9643d44bd9e8d253d6 Mon Sep 17 00:00:00 2001 From: Kyungmin Park Date: Wed, 5 Mar 2008 17:07:57 +0900 Subject: [PATCH] Fix tsx210x touchscreen compile Update the imput device changes Signed-off-by: Kyungmin Park Signed-off-by: Tony Lindgren --- drivers/input/touchscreen/tsc210x_ts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/tsc210x_ts.c b/drivers/input/touchscreen/tsc210x_ts.c index 7bcee0efe7c..5828b6d5514 100644 --- a/drivers/input/touchscreen/tsc210x_ts.c +++ b/drivers/input/touchscreen/tsc210x_ts.c @@ -94,7 +94,7 @@ static int tsc210x_ts_probe(struct platform_device *pdev) } dev->name = "TSC210x Touchscreen"; - dev->cdev.dev = &pdev->dev; + dev->dev.parent = &pdev->dev; dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); dev->keybit[BIT_WORD(BTN_TOUCH)] |= BIT_MASK(BTN_TOUCH); dev->absbit[0] = BIT(ABS_X) | BIT(ABS_Y) | BIT(ABS_PRESSURE); -- 2.41.0