diff options
author | istvan_v@mailbox.hu <istvan_v@mailbox.hu> | 2011-06-06 13:03:44 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 17:52:40 -0300 |
commit | 8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0 (patch) | |
tree | eb69cbd55c98ec646fce3055f0265517efecef53 /drivers/media/dvb/dvb-usb/dib0700_devices.c | |
parent | 09f4634293f2d48a9619f51b104bef8e6cc6d559 (diff) | |
download | linux-8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0.tar.gz linux-8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0.tar.bz2 linux-8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0.zip |
[media] xc4000: removed card_type
Removed the use of 'card_type' from the tuner configuration structure, and
replaced it with separate parameters to set board-specific configuration.
Signed-off-by: Istvan Varga <istvan_v@mailbox.hu>
Cc: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700_devices.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index d546270d3f5d..ae0abc5dcf94 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c @@ -2778,10 +2778,12 @@ static int pctv340e_frontend_attach(struct dvb_usb_adapter *adap) return adap->fe == NULL ? -ENODEV : 0; } - static struct xc4000_config dib7000p_xc4000_tunerconfig = { - .i2c_address = 0x61, - .if_khz = 5400, + .i2c_address = 0x61, + .default_pm = 1, + .dvb_amplitude = 0, + .set_smoothedcvbs = 0, + .if_khz = 5400 }; static int xc4000_tuner_attach(struct dvb_usb_adapter *adap) |