diff options
-rw-r--r-- | drivers/media/dvb/dvb-usb/dibusb-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-usb/dibusb-common.c b/drivers/media/dvb/dvb-usb/dibusb-common.c index b4d6e539ff5a..76e37b5d6610 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-common.c +++ b/drivers/media/dvb/dvb-usb/dibusb-common.c | |||
@@ -230,8 +230,8 @@ static struct dib3000mc_config mod3000p_dib3000p_config = { | |||
230 | 230 | ||
231 | int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) | 231 | int dibusb_dib3000mc_frontend_attach(struct dvb_usb_adapter *adap) |
232 | { | 232 | { |
233 | if ((adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000P_I2C_ADDRESS, &mod3000p_dib3000p_config)) == NULL || | 233 | if ((adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000P_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL || |
234 | (adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000MC_I2C_ADDRESS, &mod3000p_dib3000p_config)) == NULL) { | 234 | (adap->fe = dvb_attach(dib3000mc_attach, &adap->dev->i2c_adap, DEFAULT_DIB3000MC_I2C_ADDRESS, &mod3000p_dib3000p_config)) != NULL) { |
235 | if (adap->priv != NULL) { | 235 | if (adap->priv != NULL) { |
236 | struct dibusb_state *st = adap->priv; | 236 | struct dibusb_state *st = adap->priv; |
237 | st->ops.pid_parse = dib3000mc_pid_parse; | 237 | st->ops.pid_parse = dib3000mc_pid_parse; |