From: David Brownell Date: Tue, 26 Jul 2005 07:55:34 +0000 (-0700) Subject: [PATCH] ARM: OMAP: ts-input.patch X-Git-Tag: v2.6.13-omap1~64 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d32ce4c72df4750d8b9e7356c9917bdcb4dd3a36;p=linux-2.6-omap-h63xx.git [PATCH] ARM: OMAP: ts-input.patch Properly hook up the fake touchscreen device as the parent of the touchscreen input device. (No reason to have a broken sysfs tree.) Signed-off-by: David Brownell Signed-off-by: Tony Lindgren --- diff --git a/drivers/input/touchscreen/omap/omap_ts.c b/drivers/input/touchscreen/omap/omap_ts.c index bb594df4611..5b57ad15a07 100644 --- a/drivers/input/touchscreen/omap/omap_ts.c +++ b/drivers/input/touchscreen/omap/omap_ts.c @@ -170,6 +170,7 @@ static int __init omap_ts_probe(struct device *dev) init_input_dev(&(ts_omap.inputdevice)); ts_omap.inputdevice.name = OMAP_TS_NAME; + ts_omap.inputdevice.dev = dev; ts_omap.inputdevice.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); ts_omap.inputdevice.keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH); ts_omap.inputdevice.absbit[0] =