From: Hans Verkuil Date: Wed, 1 Apr 2009 06:57:53 +0000 (-0300) Subject: V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_... X-Git-Tag: v2.6.30-rc1~136^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6574f2fbecdb8af807169d345c10131ae060a88;p=pandora-kernel.git V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_(probed)_subdev The functions v4l2_i2c_new_subdev and v4l2_i2c_new_probed_subdev relied on i2c_get_adapdata to return the v4l2_device. However, this is not always possible on embedded platforms. So modify the API to pass the v4l2_device pointer explicitly. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed