mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
V4L/DVB (10135): v4l2: introduce v4l2_file_operations.
Introduce a struct v4l2_file_operations for v4l2 drivers. Remove the unnecessary inode argument. Move compat32 handling (and llseek) into the v4l2-dev core: this is now handled in the v4l2 core and no longer in the drivers themselves. Note that this changeset reverts an earlier patch that changed the return type of__video_ioctl2 from int to long. This change will be reinstated later in a much improved version. Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
dfa9a5ae67
commit
bec43661b1
83 changed files with 331 additions and 572 deletions
|
|
@ -36,7 +36,7 @@ struct snd_tea575x_ops {
|
|||
struct snd_tea575x {
|
||||
struct snd_card *card;
|
||||
struct video_device vd; /* video device */
|
||||
struct file_operations fops;
|
||||
struct v4l2_file_operations fops;
|
||||
int dev_nr; /* requested device number + 1 */
|
||||
int vd_registered; /* video device is registered */
|
||||
int tea5759; /* 5759 chip is present */
|
||||
|
|
|
|||
Loading…
Reference in a new issue