]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/cx88/cx88-video.c
V4L/DVB (11373): v4l2-common: add explicit v4l2_device pointer as first arg to new_...
[linux-2.6-omap-h63xx.git] / drivers / media / video / cx88 / cx88-video.c
index fb0764af6c77c7c328ff7c758f3e1e6f10b39a0b..d7d4d2a6ed9db0f5f710659c0f8f037d6c6e02b6 100644 (file)
@@ -1882,7 +1882,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
        /* load and configure helper modules */
 
        if (core->board.audio_chip == V4L2_IDENT_WM8775)
-               v4l2_i2c_new_subdev(&core->i2c_adap,
+               v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap,
                                "wm8775", "wm8775", 0x36 >> 1);
 
        if (core->board.audio_chip == V4L2_IDENT_TVAUDIO) {
@@ -1892,7 +1892,7 @@ static int __devinit cx8800_initdev(struct pci_dev *pci_dev,
                        0xb0 >> 1, I2C_CLIENT_END
                };
 
-               v4l2_i2c_new_probed_subdev(&core->i2c_adap,
+               v4l2_i2c_new_probed_subdev(&core->v4l2_dev, &core->i2c_adap,
                                "tvaudio", "tvaudio", i2c_addr);
        }