diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-01 16:01:50 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-03 20:13:22 (GMT) |
commit | 0f622bf465e78c390e13c5f4a14d0b3f8fb7c7e5 (patch) | |
tree | f261ab1f1707cdcd3b84e5661a3e0c332c8fcc21 /include/linux/spi/ads7846.h | |
parent | af6e1d99ea525161f70f68ecb83d0d0f54f1bf62 (diff) | |
download | linux-fsl-qoriq-0f622bf465e78c390e13c5f4a14d0b3f8fb7c7e5.tar.xz |
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/ads7846.h')
-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 95d36bf..92bd083 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); |