bump to 2.6.30-rc6
[openwrt/openwrt.git] / target / linux / s3c24xx / files-2.6.30 / include / linux / touchscreen / ts_filter_linear.h
1 #ifndef __TS_FILTER_LINEAR_H__
2 #define __TS_FILTER_LINEAR_H__
3
4 #include "ts_filter.h"
5 #include <linux/kobject.h>
6
7 /*
8 * Touchscreen linear filter.
9 *
10 * Copyright (C) 2008,2009 by Openmoko, Inc.
11 * Author: Nelson Castillo <arhuaco@freaks-unidos.net>
12 *
13 */
14
15 #define TS_FILTER_LINEAR_NCONSTANTS 7
16
17 struct ts_filter_linear_configuration {
18 /* Calibration constants. */
19 int constants[TS_FILTER_LINEAR_NCONSTANTS];
20 /* First coordinate. */
21 int coord0;
22 /* Second coordinate. */
23 int coord1;
24
25 /* Generic filter configuration. */
26 struct ts_filter_configuration config;
27 };
28
29 extern const struct ts_filter_api ts_filter_linear_api;
30
31 #endif