diff options
author | Tony Luck <tony.luck@intel.com> | 2005-06-15 17:06:48 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-06-15 17:06:48 -0400 |
commit | f2cbb4f01936a3e4225692e03b084b78c56d386d (patch) | |
tree | f89f3d8baa250589a38a4dd2df56f84cddae3c76 /drivers/media/dvb/dibusb/dvb-dibusb-fe-i2c.c | |
parent | 325a479c4c110db278ef3361460a48c4093252cc (diff) | |
parent | 1016888fb69662936b32ab767c7419a3be9a69d3 (diff) |
Auto merge with /home/aegl/GIT/linus
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 |