From 675a93c65029c2cda2d00bb73f9d7f0e1c9d42dc Mon Sep 17 00:00:00 2001 From: Nelson Castillo Date: Tue, 10 Mar 2009 12:04:40 +0000 Subject: Add filter_chain object Filter chains should be completely opaque to the drivers that use it. We fix this with this patch. ~ Make the "filter chain" a new object. ~ We can build with CONFIG_TOUCHSCREEN_FILTER=n with no problems in a cleaner way. ~ Update s3c2410_ts.c to use the filter_chain object. ~ Cleanups. Signed-off-by: Nelson Castillo --- arch/arm/mach-s3c2410/mach-gta01.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-s3c2410/mach-gta01.c') diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c index d40cd838ede..a828b66ea55 100644 --- a/arch/arm/mach-s3c2410/mach-gta01.c +++ b/arch/arm/mach-s3c2410/mach-gta01.c @@ -89,6 +89,7 @@ #include +#include <../drivers/input/touchscreen/ts_filter_chain.h> #ifdef CONFIG_TOUCHSCREEN_FILTER #include <../drivers/input/touchscreen/ts_filter_linear.h> #include <../drivers/input/touchscreen/ts_filter_mean.h> @@ -730,7 +731,7 @@ static struct ts_filter_linear_configuration gta01_ts_linear = { }; #endif -struct ts_filter_configuration filter_configuration[] = +struct ts_filter_chain_configuration filter_configuration[] = { #ifdef CONFIG_TOUCHSCREEN_FILTER {&ts_filter_group_api, >a01_ts_group.config}, -- cgit v1.2.3