diff options
author | Iiro Valkonen <iiro.valkonen@atmel.com> | 2011-02-15 22:36:52 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-02-21 10:02:33 +0100 |
commit | 71749f5c66e797a39600dae9de58aab3858dc488 (patch) | |
tree | dfb7593588c36288e3bbbae68a5ca22ac62c255b /include | |
parent | Input: atmel_mxt_ts - add mXT224 identifier to id_table (diff) | |
download | linux-71749f5c66e797a39600dae9de58aab3858dc488.tar.xz linux-71749f5c66e797a39600dae9de58aab3858dc488.zip |
Input: atmel_mxt_ts - allow board code to suppliy controller config
As there is no common configuration settings that would work in every
situation, remove the fixed config data from driver code and add
config data to platform data.
Signed-off-by: Iiro Valkonen <iiro.valkonen@atmel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/atmel_mxt_ts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h index 671967cf4d1a..b8297685f489 100644 --- a/include/linux/i2c/atmel_mxt_ts.h +++ b/include/linux/i2c/atmel_mxt_ts.h @@ -13,6 +13,8 @@ #ifndef __LINUX_ATMEL_MXT_TS_H #define __LINUX_ATMEL_MXT_TS_H +#include <linux/types.h> + /* Orient */ #define MXT_NORMAL 0x0 #define MXT_DIAGONAL 0x1 @@ -25,6 +27,9 @@ /* The platform data for the Atmel maXTouch touchscreen driver */ struct mxt_platform_data { + const u8 *config; + size_t config_length; + unsigned int x_line; unsigned int y_line; unsigned int x_size; |