diff options
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-i2c.c')
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-i2c.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-i2c.c b/drivers/media/dvb/b2c2/flexcop-i2c.c index be4266d4ae91..56495cb6cd02 100644 --- a/drivers/media/dvb/b2c2/flexcop-i2c.c +++ b/drivers/media/dvb/b2c2/flexcop-i2c.c | |||
@@ -172,8 +172,6 @@ static u32 flexcop_i2c_func(struct i2c_adapter *adapter) | |||
172 | } | 172 | } |
173 | 173 | ||
174 | static struct i2c_algorithm flexcop_algo = { | 174 | static struct i2c_algorithm flexcop_algo = { |
175 | .name = "FlexCop I2C algorithm", | ||
176 | .id = I2C_ALGO_BIT, | ||
177 | .master_xfer = flexcop_master_xfer, | 175 | .master_xfer = flexcop_master_xfer, |
178 | .functionality = flexcop_i2c_func, | 176 | .functionality = flexcop_i2c_func, |
179 | }; | 177 | }; |
@@ -192,7 +190,6 @@ int flexcop_i2c_init(struct flexcop_device *fc) | |||
192 | fc->i2c_adap.class = I2C_CLASS_TV_DIGITAL; | 190 | fc->i2c_adap.class = I2C_CLASS_TV_DIGITAL; |
193 | fc->i2c_adap.algo = &flexcop_algo; | 191 | fc->i2c_adap.algo = &flexcop_algo; |
194 | fc->i2c_adap.algo_data = NULL; | 192 | fc->i2c_adap.algo_data = NULL; |
195 | fc->i2c_adap.id = I2C_ALGO_BIT; | ||
196 | 193 | ||
197 | if ((ret = i2c_add_adapter(&fc->i2c_adap)) < 0) | 194 | if ((ret = i2c_add_adapter(&fc->i2c_adap)) < 0) |
198 | return ret; | 195 | return ret; |