Re: [PATCH] Adding Wacom I2C stylus support
flat view
From: Wanlong Gao <hidden>
Date: 2011-12-19 05:23:43
On 12/19/2011 01:05 PM, Tatsunosuke Tobita wrote:
From: Tatsunosuke Tobita <redacted>
At least, add a short comment here?
quoted hunk ↗ jump to hunk
Signed-off-by: Tatsunosuke Tobita <redacted> --- drivers/input/touchscreen/Kconfig | 11 +++++++++++ drivers/input/touchscreen/Makefile | 2 ++ 2 files changed, 13 insertions(+), 0 deletions(-)diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig index 3488ffe..cae448e 100644 --- a/drivers/input/touchscreen/Kconfig +++ b/drivers/input/touchscreen/Kconfig@@ -738,4 +738,15 @@ config TOUCHSCREEN_TPS6507X To compile this driver as a module, choose M here: the module will be called tps6507x_ts. +config TOUCHSCREEN_WACOM_I2C + tristate "Wacom Tablet support(I2C)" + depends on I2C + help + Say Y here if you want to use the I2C version of the Wacom Pen. + Make sure to say Y to "Mouse support" (CONFIG_INPUT_MOUSEDEV) + and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well. + + To compile this driver as a module, choose M here: the module + will be called wacom_i2c. + endifdiff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile index f957676..216dd57 100644 --- a/drivers/input/touchscreen/Makefile +++ b/drivers/input/touchscreen/Makefile@@ -5,6 +5,7 @@ # Each configuration option enables a list of files. wm97xx-ts-y := wm97xx-core.o +wacom_i2c-ts-objs := wacom_i2c_func.o wacom_i2c.o
Why do you add this line? or if I missed something? Thanks -Wanlong Gao
quoted hunk ↗ jump to hunk
obj-$(CONFIG_TOUCHSCREEN_88PM860X) += 88pm860x-ts.o obj-$(CONFIG_TOUCHSCREEN_AD7877) += ad7877.o@@ -61,3 +62,4 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE) += mainstone-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE) += zylonite-wm97xx.o obj-$(CONFIG_TOUCHSCREEN_W90X900) += w90p910_ts.o obj-$(CONFIG_TOUCHSCREEN_TPS6507X) += tps6507x-ts.o +obj-$(CONFIG_TOUCHSCREEN_WACOM_I2C) += wacom_i2c-ts.o