From: Hans Verkuil Date: Sun, 6 May 2012 12:28:18 +0000 (-0300) Subject: [media] gspca: Use video_drvdata(file) instead of file->private_data X-Git-Tag: v3.5-rc1~104^2~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4c1605a74c46100d93f465238b9962ac9499e36;p=pandora-kernel.git [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 Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed