]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: ts-input.patch
authorDavid Brownell <david-b@pacbell.net>
Tue, 26 Jul 2005 07:55:34 +0000 (00:55 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jul 2005 07:55:34 +0000 (00:55 -0700)
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 <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/touchscreen/omap/omap_ts.c

index bb594df461112f943e8bcccfd59718a376b36c1c..5b57ad15a0732e802b0fcf6fe02498abff1ade9d 100644 (file)
@@ -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] =