diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-i2c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.c b/drivers/media/video/ivtv/ivtv-i2c.c index 1a289fd33cd4..9e3d32b8004c 100644 --- a/drivers/media/video/ivtv/ivtv-i2c.c +++ b/drivers/media/video/ivtv/ivtv-i2c.c | |||
@@ -181,10 +181,8 @@ int ivtv_i2c_register(struct ivtv *itv, unsigned idx) | |||
181 | if (!hw_addrs[idx]) | 181 | if (!hw_addrs[idx]) |
182 | return -1; | 182 | return -1; |
183 | if (hw == IVTV_HW_UPD64031A || hw == IVTV_HW_UPD6408X) { | 183 | if (hw == IVTV_HW_UPD64031A || hw == IVTV_HW_UPD6408X) { |
184 | unsigned short addrs[2] = { hw_addrs[idx], I2C_CLIENT_END }; | 184 | sd = v4l2_i2c_new_probed_subdev_addr(&itv->v4l2_dev, |
185 | 185 | adap, mod, type, hw_addrs[idx]); | |
186 | sd = v4l2_i2c_new_probed_subdev(&itv->v4l2_dev, | ||
187 | adap, mod, type, addrs); | ||
188 | } else { | 186 | } else { |
189 | sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, | 187 | sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, |
190 | adap, mod, type, hw_addrs[idx]); | 188 | adap, mod, type, hw_addrs[idx]); |