From: Kyungmin Park Date: Wed, 5 Mar 2008 08:07:57 +0000 (+0900) Subject: Fix tsx210x touchscreen compile X-Git-Tag: v2.6.25-omap1~150 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=118f56ba443c810ea4437d9643d44bd9e8d253d6;p=linux-2.6-omap-h63xx.git Fix tsx210x touchscreen compile Update the imput device changes Signed-off-by: Kyungmin Park Signed-off-by: Tony Lindgren --- 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);