V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_...
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 1 Apr 2009 06:57:53 +0000 (03:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:24 +0000 (21:44 -0300)
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 <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found