aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/tuner-core.c
diff options
context:
space:
mode:
authoristvan_v@mailbox.hu <istvan_v@mailbox.hu>2011-06-06 13:03:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:52:40 -0300
commit8edeb6eb1ae113b8f25a79e5076c1a1ec93538d0 (patch)
treeeb69cbd55c98ec646fce3055f0265517efecef53 /drivers/media/video/tuner-core.c
parent09f4634293f2d48a9619f51b104bef8e6cc6d559 (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/video/tuner-core.c')
-rw-r--r--drivers/media/video/tuner-core.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index 850b45d042f..11cc980b0cd 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -396,8 +396,12 @@ static void set_type(struct i2c_client *c, unsigned int type,
{
struct xc4000_config xc4000_cfg = {
.i2c_address = t->i2c->addr,
- /* if_khz will be set when the digital dvb_attach() occurs */
- .if_khz = 0,
+ /* FIXME: the correct parameters will be set */
+ /* only when the digital dvb_attach() occurs */
+ .default_pm = 0,
+ .dvb_amplitude = 0,
+ .set_smoothedcvbs = 0,
+ .if_khz = 0
};
if (!dvb_attach(xc4000_attach,
&t->fe, t->i2c->adapter, &xc4000_cfg))