[PATCH 2/3] media: v4l2-ctrls: prepare the function to be used by compat32 code

2017-08-10 Thread Mauro Carvalho Chehab
Right now, both v4l2_ctrl_fill() and compat32 code need to know the type of the control. As new controls are added, this cause troubles at compat32, as it won't be able to discover what functions are pointers or not. Change v4l2_ctrl_fill() function for it to be called with just one argument: the

[PATCH 2/3] media: v4l2-ctrls: prepare the function to be used by compat32 code

2017-08-10 Thread Mauro Carvalho Chehab
Right now, both v4l2_ctrl_fill() and compat32 code need to know the type of the control. As new controls are added, this cause troubles at compat32, as it won't be able to discover what functions are pointers or not. Change v4l2_ctrl_fill() function for it to be called with just one argument: the