diff options
author | Iiro Valkonen <iiro.valkonen@atmel.com> | 2011-02-15 13:36:52 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-02-21 01:02:33 -0800 |
commit | 71749f5c66e797a39600dae9de58aab3858dc488 (patch) | |
tree | dfb7593588c36288e3bbbae68a5ca22ac62c255b /include/linux/i2c | |
parent | 46ee2a05a466ca7e34d65fe3feba195d62109362 (diff) | |
download | linux-stable-71749f5c66e797a39600dae9de58aab3858dc488.tar.gz linux-stable-71749f5c66e797a39600dae9de58aab3858dc488.tar.bz2 linux-stable-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/linux/i2c')
-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; |