diff options
| -rw-r--r-- | drivers/media/dvb/mantis/mantis_i2c.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_i2c.c b/drivers/media/dvb/mantis/mantis_i2c.c index 9d2b51d2e4b6..7bb4e78aa714 100644 --- a/drivers/media/dvb/mantis/mantis_i2c.c +++ b/drivers/media/dvb/mantis/mantis_i2c.c | |||
| @@ -33,8 +33,6 @@ | |||
| 33 | #include "mantis_reg.h" | 33 | #include "mantis_reg.h" |
| 34 | #include "mantis_i2c.h" | 34 | #include "mantis_i2c.h" |
| 35 | 35 | ||
| 36 | #define I2C_HW_B_MANTIS 0x1c | ||
| 37 | |||
| 38 | #define TRIALS 10000 | 36 | #define TRIALS 10000 |
| 39 | 37 | ||
| 40 | static int mantis_i2c_read(struct mantis_pci *mantis, const struct i2c_msg *msg) | 38 | static int mantis_i2c_read(struct mantis_pci *mantis, const struct i2c_msg *msg) |
| @@ -234,7 +232,6 @@ int __devinit mantis_i2c_init(struct mantis_pci *mantis) | |||
| 234 | i2c_adapter->class = I2C_CLASS_TV_DIGITAL; | 232 | i2c_adapter->class = I2C_CLASS_TV_DIGITAL; |
| 235 | i2c_adapter->algo = &mantis_algo; | 233 | i2c_adapter->algo = &mantis_algo; |
| 236 | i2c_adapter->algo_data = NULL; | 234 | i2c_adapter->algo_data = NULL; |
| 237 | i2c_adapter->id = I2C_HW_B_MANTIS; | ||
| 238 | i2c_adapter->timeout = 500; | 235 | i2c_adapter->timeout = 500; |
| 239 | i2c_adapter->retries = 3; | 236 | i2c_adapter->retries = 3; |
| 240 | i2c_adapter->dev.parent = &pdev->dev; | 237 | i2c_adapter->dev.parent = &pdev->dev; |
