summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-19 02:50:16 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 14:56:36 +0400
commit232b6968b1296ccd4086867c9890b6f55a65256e (patch)
tree123d6ecbad90659cce0f5713615dc311e45c02b9 /drivers/media/dvb/dvb-usb
parenta1da814642fcf7b5f0e28928d809c47d7c689585 (diff)
downloadlinux-232b6968b1296ccd4086867c9890b6f55a65256e.tar.xz
[media] ce6230: use DVB USB macros
Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb')
-rw-r--r--drivers/media/dvb/dvb-usb/ce6230.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/ce6230.c b/drivers/media/dvb/dvb-usb/ce6230.c
index b9197a58ba26..84ff4a96ca4e 100644
--- a/drivers/media/dvb/dvb-usb/ce6230.c
+++ b/drivers/media/dvb/dvb-usb/ce6230.c
@@ -179,7 +179,7 @@ static int ce6230_zl10353_frontend_attach(struct dvb_usb_adapter *adap)
pr_debug("%s:\n", __func__);
adap->fe[0] = dvb_attach(zl10353_attach, &ce6230_zl10353_config,
- &adap->dev->i2c_adap);
+ &adap_to_d(adap)->i2c_adap);
if (adap->fe[0] == NULL)
return -ENODEV;
@@ -209,7 +209,8 @@ static int ce6230_mxl5003s_tuner_attach(struct dvb_usb_adapter *adap)
pr_debug("%s:\n", __func__);
- ret = dvb_attach(mxl5005s_attach, adap->fe[0], &adap->dev->i2c_adap,
+ ret = dvb_attach(mxl5005s_attach, adap->fe[0],
+ &adap_to_d(adap)->i2c_adap,
&ce6230_mxl5003s_config) == NULL ? -ENODEV : 0;
return ret;
}
@@ -251,7 +252,7 @@ static struct dvb_usb_device_properties ce6230_props = {
.endpoint = 0x82,
.u = {
.bulk = {
- .buffersize = (16*512),
+ .buffersize = (16 * 512),
}
}
},