diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-01 09:01:50 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-03 13:13:22 -0700 |
commit | 0f622bf465e78c390e13c5f4a14d0b3f8fb7c7e5 (patch) | |
tree | f261ab1f1707cdcd3b84e5661a3e0c332c8fcc21 /include/linux/spi | |
parent | af6e1d99ea525161f70f68ecb83d0d0f54f1bf62 (diff) |
Input: ads7846 - do not allow altering platform data
Tested-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/ads7846.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h index 95d36bfb34bc..92bd0839d5b4 100644 --- a/include/linux/spi/ads7846.h +++ b/include/linux/spi/ads7846.h @@ -48,7 +48,7 @@ struct ads7846_platform_data { * state if get_pendown_state == NULL */ int (*get_pendown_state)(void); - int (*filter_init) (struct ads7846_platform_data *pdata, + int (*filter_init) (const struct ads7846_platform_data *pdata, void **filter_data); int (*filter) (void *filter_data, int data_idx, int *val); void (*filter_cleanup)(void *filter_data); |