mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
V4L/DVB (10138): v4l2-ioctl: change to long return type to match unlocked_ioctl.
Since internal to v4l2 the ioctl prototype is the same regardless of it being called through .ioctl or .unlocked_ioctl, we need to convert it all to the long return type of unlocked_ioctl. Thanks to Jean-Francois Moine for posting an initial patch for this and thus bringing it to our attention. Cc: Jean-Francois Moine <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
4ab9203b1b
commit
069b747931
53 changed files with 198 additions and 195 deletions
|
|
@ -84,7 +84,7 @@ static void snd_tea575x_set_freq(struct snd_tea575x *tea)
|
|||
* Linux Video interface
|
||||
*/
|
||||
|
||||
static int snd_tea575x_ioctl(struct file *file,
|
||||
static long snd_tea575x_ioctl(struct file *file,
|
||||
unsigned int cmd, unsigned long data)
|
||||
{
|
||||
struct snd_tea575x *tea = video_drvdata(file);
|
||||
|
|
|
|||
Loading…
Reference in a new issue