[media] stk-webcam: don't use private_data, use video_drvdata
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 4 Feb 2013 12:00:48 +0000 (09:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:40:10 +0000 (14:40 -0300)
commit10351adc6ac9251863ec6d90436e3ad277d178e0
tree0a271b52167b68f786ef4b50ce264b41ecb1c9a0
parentdc0fb28675e7ef7ac12a5532500b2f89e41f2174
[media] stk-webcam: don't use private_data, use video_drvdata

file->private_data is needed to store the pointer to struct v4l2_fh.
So use video_drvdata to get hold of the stk_camera struct.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Tested-by: Arvydas Sidorenko <asido4@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stkwebcam/stk-webcam.c