diff options
author | Hans Verkuil | 2012-05-06 14:28:18 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2012-05-14 14:26:46 +0200 |
commit | f4c1605a74c46100d93f465238b9962ac9499e36 (patch) | |
tree | b93af988889d32566bf105bc6cefb3a6724e500f /drivers/media/video/gspca/gspca.h | |
parent | [media] gspca: Allow subdrivers to use the control framework (diff) | |
download | kernel-qcow2-linux-f4c1605a74c46100d93f465238b9962ac9499e36.tar.gz kernel-qcow2-linux-f4c1605a74c46100d93f465238b9962ac9499e36.tar.xz kernel-qcow2-linux-f4c1605a74c46100d93f465238b9962ac9499e36.zip |
[media] gspca: Use video_drvdata(file) instead of file->private_data
Prepare for control events: free up file->private_data by using
video_drvdata(file) to get to the gspca_dev struct.
[mchehab@redhat.com: fix a compile error: ‘file’ undeclared]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/gspca.h')
0 files changed, 0 insertions, 0 deletions