Re: [PATCH 1/4] Input: tsc2005 - Separate SPI and core functions
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-11-03 01:49:56
Also in:
linux-devicetree, lkml
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-11-03 01:49:56
Also in:
linux-devicetree, lkml
On Fri, Oct 30, 2015 at 07:41:23PM -0500, Michael Welling wrote:
This patch separates the SPI functionality from core functionality
that overlaps with the tsc2004.
Prepares kernel for new tsc2004 driver without much redundant code.
Signed-off-by: Michael Welling <redacted>
---
drivers/input/touchscreen/Kconfig | 4 +
drivers/input/touchscreen/Makefile | 1 +
drivers/input/touchscreen/tsc2005.c | 709 +--------------------
.../touchscreen/{tsc2005.c => tsc200x-core.c} | 226 ++-----
drivers/input/touchscreen/tsc200x-core.h | 78 +++
5 files changed, 162 insertions(+), 856 deletions(-)
copy drivers/input/touchscreen/{tsc2005.c => tsc200x-core.c} (72%)
create mode 100644 drivers/input/touchscreen/tsc200x-core.hThis was giving me: Kernel: arch/x86/boot/bzImage is ready (#1451) MODPOST 1447 modules ERROR: "tsc200x_regmap_config" [drivers/input/touchscreen/tsc2005.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 I'll fix it up locally by exporting the symbol. Thanks. -- Dmitry