diff options
author | istvan_v@mailbox.hu <istvan_v@mailbox.hu> | 2011-06-06 12:03:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:52:40 -0400 |
commit | 8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0 (patch) | |
tree | eb69cbd55c98ec646fce3055f0265517efecef53 /drivers/media/dvb | |
parent | 09f4634293f2d48a9619f51b104bef8e6cc6d559 (diff) |
[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')
-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 d546270d3f5..ae0abc5dcf9 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) | |||
2778 | return adap->fe == NULL ? -ENODEV : 0; | 2778 | return adap->fe == NULL ? -ENODEV : 0; |
2779 | } | 2779 | } |
2780 | 2780 | ||
2781 | |||
2782 | static struct xc4000_config dib7000p_xc4000_tunerconfig = { | 2781 | static struct xc4000_config dib7000p_xc4000_tunerconfig = { |
2783 | .i2c_address = 0x61, | 2782 | .i2c_address = 0x61, |
2784 | .if_khz = 5400, | 2783 | .default_pm = 1, |
2784 | .dvb_amplitude = 0, | ||
2785 | .set_smoothedcvbs = 0, | ||
2786 | .if_khz = 5400 | ||
2785 | }; | 2787 | }; |
2786 | 2788 | ||
2787 | static int xc4000_tuner_attach(struct dvb_usb_adapter *adap) | 2789 | static int xc4000_tuner_attach(struct dvb_usb_adapter *adap) |