Commit cafb944d authored by andrzej zaborowski's avatar andrzej zaborowski Committed by Tony Lindgren

Re-add a lost TSC2102 touchscreen Kconfig entry

The TSC2102 option in drivers/input/touchscreen/Kconfig got lost
somewhere in January (although the commit is not visible in git-web),
so adding it back.  Also remove the input_dev.dev assignment due to an
upstream change.
Signed-off-by: default avatarAndrzej Zaborowski <balrog@zabor.org>

From 492e5cbe39613f06b8146c12bff9500259739fd5 Mon Sep 17 00:00:00 2001
From: Andrzej Zaborowski <balrog@zabor.org>
Date: Tue, 22 May 2007 20:08:47 +0200
Subject: [PATCH] Re-add a lost TSC2102 touchscreen Kconfig entry.

The TSC2102 option in drivers/input/touchscreen/Kconfig got lost somewhere
in January (although the commit is not visible in git-web), so adding it
back.  Also remove the input_dev.dev assignment due to an upstream change.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 00bc7eb7
...@@ -164,6 +164,21 @@ config TOUCHSCREEN_UCB1400 ...@@ -164,6 +164,21 @@ config TOUCHSCREEN_UCB1400
To compile this driver as a module, choose M here: the To compile this driver as a module, choose M here: the
module will be called ucb1400_ts. module will be called ucb1400_ts.
config TOUCHSCREEN_TSC2102
tristate "TSC 2102 based touchscreens"
depends on SPI_MASTER
select SPI_TSC2102
help
Say Y here if you have a touchscreen interface using the
TI TSC 2102 controller, and your board-specific initialization
code includes that in its table of SPI devices. Also make
sure the proper SPI controller is selected.
If unsure, say N (but it's safe to say "Y").
To compile this driver as a module, choose M here: the
module will be called tsc2102_ts.
config TOUCHSCREEN_TSC2301 config TOUCHSCREEN_TSC2301
tristate "TSC2301 touchscreen support" tristate "TSC2301 touchscreen support"
depends on SPI_TSC2301 depends on SPI_TSC2301
......
...@@ -81,7 +81,6 @@ static int tsc2102_ts_probe(struct platform_device *pdev) ...@@ -81,7 +81,6 @@ static int tsc2102_ts_probe(struct platform_device *pdev)
} }
dev->name = "TSC2102 Touchscreen"; dev->name = "TSC2102 Touchscreen";
dev->dev = &pdev->dev;
dev->cdev.dev = &pdev->dev; dev->cdev.dev = &pdev->dev;
dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
dev->keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH); dev->keybit[LONG(BTN_TOUCH)] |= BIT(BTN_TOUCH);
......
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