aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-18 18:50:16 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 06:56:36 -0400
commit232b6968b1296ccd4086867c9890b6f55a65256e (patch)
tree123d6ecbad90659cce0f5713615dc311e45c02b9 /drivers/media/dvb
parenta1da814642fcf7b5f0e28928d809c47d7c689585 (diff)
[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')
-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)
179 pr_debug("%s:\n", __func__); 179 pr_debug("%s:\n", __func__);
180 180
181 adap->fe[0] = dvb_attach(zl10353_attach, &ce6230_zl10353_config, 181 adap->fe[0] = dvb_attach(zl10353_attach, &ce6230_zl10353_config,
182 &adap->dev->i2c_adap); 182 &adap_to_d(adap)->i2c_adap);
183 if (adap->fe[0] == NULL) 183 if (adap->fe[0] == NULL)
184 return -ENODEV; 184 return -ENODEV;
185 185
@@ -209,7 +209,8 @@ static int ce6230_mxl5003s_tuner_attach(struct dvb_usb_adapter *adap)
209 209
210 pr_debug("%s:\n", __func__); 210 pr_debug("%s:\n", __func__);
211 211
212 ret = dvb_attach(mxl5005s_attach, adap->fe[0], &adap->dev->i2c_adap, 212 ret = dvb_attach(mxl5005s_attach, adap->fe[0],
213 &adap_to_d(adap)->i2c_adap,
213 &ce6230_mxl5003s_config) == NULL ? -ENODEV : 0; 214 &ce6230_mxl5003s_config) == NULL ? -ENODEV : 0;
214 return ret; 215 return ret;
215} 216}
@@ -251,7 +252,7 @@ static struct dvb_usb_device_properties ce6230_props = {
251 .endpoint = 0x82, 252 .endpoint = 0x82,
252 .u = { 253 .u = {
253 .bulk = { 254 .bulk = {
254 .buffersize = (16*512), 255 .buffersize = (16 * 512),
255 } 256 }
256 } 257 }
257 }, 258 },