commit | e6574f2fbecdb8af807169d345c10131ae060a88 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Wed Apr 01 03:57:53 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Apr 06 21:44:24 2009 -0300 |
tree | 9923d1065397b9796a476cac238bacbdf1d820d1 | |
parent | 868f985c2fb85b5f32785bb55a349d180a30f3d3 [diff] |
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 <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>