mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
Input: ads7846 - do not allow altering platform data
Tested-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
af6e1d99ea
commit
0f622bf465
2 changed files with 20 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue