aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/dvbsky.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/dvbsky.c')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvbsky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c
index c67a118ef219..8be8447fb2be 100644
--- a/drivers/media/usb/dvb-usb-v2/dvbsky.c
+++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c
@@ -479,7 +479,7 @@ static int dvbsky_s960c_attach(struct dvb_usb_adapter *adap)
479 info.addr = 0x40; 479 info.addr = 0x40;
480 info.platform_data = &sp2_config; 480 info.platform_data = &sp2_config;
481 request_module("sp2"); 481 request_module("sp2");
482 client_ci = i2c_new_device(i2c_adapter, &info); 482 client_ci = i2c_new_device(&d->i2c_adap, &info);
483 if (client_ci == NULL || client_ci->dev.driver == NULL) { 483 if (client_ci == NULL || client_ci->dev.driver == NULL) {
484 ret = -ENODEV; 484 ret = -ENODEV;
485 goto fail_ci_device; 485 goto fail_ci_device;