diff options
Diffstat (limited to 'drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c')
-rw-r--r-- | drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c b/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c index 2ed89488c7c4..5a71b88797d9 100644 --- a/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c +++ b/drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c | |||
@@ -183,7 +183,7 @@ int dibusb_fe_init(struct usb_dibusb* dib) | |||
183 | dib->dibdev->name); | 183 | dib->dibdev->name); |
184 | return -ENODEV; | 184 | return -ENODEV; |
185 | } else { | 185 | } else { |
186 | if (dvb_register_frontend(dib->adapter, dib->fe)) { | 186 | if (dvb_register_frontend(&dib->adapter, dib->fe)) { |
187 | err("Frontend registration failed."); | 187 | err("Frontend registration failed."); |
188 | if (dib->fe->ops->release) | 188 | if (dib->fe->ops->release) |
189 | dib->fe->ops->release(dib->fe); | 189 | dib->fe->ops->release(dib->fe); |
@@ -206,7 +206,7 @@ int dibusb_i2c_init(struct usb_dibusb *dib) | |||
206 | { | 206 | { |
207 | int ret = 0; | 207 | int ret = 0; |
208 | 208 | ||
209 | dib->adapter->priv = dib; | 209 | dib->adapter.priv = dib; |
210 | 210 | ||
211 | strncpy(dib->i2c_adap.name,dib->dibdev->name,I2C_NAME_SIZE); | 211 | strncpy(dib->i2c_adap.name,dib->dibdev->name,I2C_NAME_SIZE); |
212 | #ifdef I2C_ADAP_CLASS_TV_DIGITAL | 212 | #ifdef I2C_ADAP_CLASS_TV_DIGITAL |