From d32ce4c72df4750d8b9e7356c9917bdcb4dd3a36 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Tue, 26 Jul 2005 00:55:34 -0700 Subject: [PATCH] [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 --- drivers/input/touchscreen/omap/omap_ts.c | 1 + 1 file changed, 1 insertion(+) 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] = -- 2.41.1