Commit d32ce4c7 authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

[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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0c98aa12
...@@ -170,6 +170,7 @@ static int __init omap_ts_probe(struct device *dev) ...@@ -170,6 +170,7 @@ static int __init omap_ts_probe(struct device *dev)
init_input_dev(&(ts_omap.inputdevice)); init_input_dev(&(ts_omap.inputdevice));
ts_omap.inputdevice.name = OMAP_TS_NAME; 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.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
ts_omap.inputdevice.keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH); ts_omap.inputdevice.keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH);
ts_omap.inputdevice.absbit[0] = ts_omap.inputdevice.absbit[0] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment