diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2008-04-22 13:46:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:52 -0400 |
commit | 7bff4b4d3ad2b9ff42b4087f409076035af1d165 (patch) | |
tree | cfa75f91fbd30b8b36f70d7056639ee031d2a7ed /drivers/media/dvb/frontends/tda827x.h | |
parent | 5823b3a63c7661272ea7fef7635955e2a50d17eb (diff) |
V4L/DVB (7393): tda827x: fixed support of tuners with LNA
Tuner refactoring broke support of tuners with LNA configurations 1 and 2
for both, analog TV and DVB-T.
Additionally, this patch initializes the saa713x gpios defined by the gpiomask
at driver init to avoid undefined stated at dvb.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda827x.h')
-rw-r--r-- | drivers/media/dvb/frontends/tda827x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tda827x.h b/drivers/media/dvb/frontends/tda827x.h index 92eb65b4012b..cd3032f985cd 100644 --- a/drivers/media/dvb/frontends/tda827x.h +++ b/drivers/media/dvb/frontends/tda827x.h | |||
@@ -30,12 +30,12 @@ | |||
30 | struct tda827x_config | 30 | struct tda827x_config |
31 | { | 31 | { |
32 | /* saa7134 - provided callbacks */ | 32 | /* saa7134 - provided callbacks */ |
33 | void (*lna_gain) (struct dvb_frontend *fe, int high); | ||
34 | int (*init) (struct dvb_frontend *fe); | 33 | int (*init) (struct dvb_frontend *fe); |
35 | int (*sleep) (struct dvb_frontend *fe); | 34 | int (*sleep) (struct dvb_frontend *fe); |
36 | 35 | ||
37 | /* interface to tda829x driver */ | 36 | /* interface to tda829x driver */ |
38 | unsigned int *config; | 37 | unsigned int config; |
38 | int switch_addr; | ||
39 | int (*tuner_callback) (void *dev, int command, int arg); | 39 | int (*tuner_callback) (void *dev, int command, int arg); |
40 | 40 | ||
41 | void (*agcf)(struct dvb_frontend *fe); | 41 | void (*agcf)(struct dvb_frontend *fe); |