diff options
Diffstat (limited to 'drivers/media/video/mxb.c')
-rw-r--r-- | drivers/media/video/mxb.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/media/video/mxb.c b/drivers/media/video/mxb.c index b1dbcf1d2bcb..94ba698d0ad4 100644 --- a/drivers/media/video/mxb.c +++ b/drivers/media/video/mxb.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include "tea6415c.h" | 32 | #include "tea6415c.h" |
33 | #include "tea6420.h" | 33 | #include "tea6420.h" |
34 | 34 | ||
35 | #define I2C_SAA5246A 0x11 | ||
36 | #define I2C_SAA7111A 0x24 | 35 | #define I2C_SAA7111A 0x24 |
37 | #define I2C_TDA9840 0x42 | 36 | #define I2C_TDA9840 0x42 |
38 | #define I2C_TEA6415C 0x43 | 37 | #define I2C_TEA6415C 0x43 |
@@ -186,21 +185,17 @@ static int mxb_probe(struct saa7146_dev *dev) | |||
186 | } | 185 | } |
187 | 186 | ||
188 | mxb->saa7111a = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 187 | mxb->saa7111a = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
189 | "saa7115", "saa7111", I2C_SAA7111A, NULL); | 188 | NULL, "saa7111", I2C_SAA7111A, NULL); |
190 | mxb->tea6420_1 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 189 | mxb->tea6420_1 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
191 | "tea6420", "tea6420", I2C_TEA6420_1, NULL); | 190 | NULL, "tea6420", I2C_TEA6420_1, NULL); |
192 | mxb->tea6420_2 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 191 | mxb->tea6420_2 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
193 | "tea6420", "tea6420", I2C_TEA6420_2, NULL); | 192 | NULL, "tea6420", I2C_TEA6420_2, NULL); |
194 | mxb->tea6415c = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 193 | mxb->tea6415c = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
195 | "tea6415c", "tea6415c", I2C_TEA6415C, NULL); | 194 | NULL, "tea6415c", I2C_TEA6415C, NULL); |
196 | mxb->tda9840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 195 | mxb->tda9840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
197 | "tda9840", "tda9840", I2C_TDA9840, NULL); | 196 | NULL, "tda9840", I2C_TDA9840, NULL); |
198 | mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | 197 | mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, |
199 | "tuner", "tuner", I2C_TUNER, NULL); | 198 | NULL, "tuner", I2C_TUNER, NULL); |
200 | if (v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, | ||
201 | "saa5246a", "saa5246a", I2C_SAA5246A, NULL)) { | ||
202 | printk(KERN_INFO "mxb: found teletext decoder\n"); | ||
203 | } | ||
204 | 199 | ||
205 | /* check if all devices are present */ | 200 | /* check if all devices are present */ |
206 | if (!mxb->tea6420_1 || !mxb->tea6420_2 || !mxb->tea6415c || | 201 | if (!mxb->tea6420_1 || !mxb->tea6420_2 || !mxb->tea6415c || |