diff options
author | Olivier DANET <odanet@caramail.com> | 2006-08-08 14:48:10 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-09-26 10:53:45 -0400 |
commit | 46f73f936665ab26c8501634e6aa34464fcc1521 (patch) | |
tree | 540ad8149d7460f0d0adf90c9294bc3e59716bf0 /drivers/media/dvb/frontends/mt2060.h | |
parent | 83fa907963662ecaade803cec4c9c3e14b69ad7d (diff) |
V4L/DVB: Update for MT2060 to use dvb_tuner_ops
new tuner api
minor fixes for tuning
Signed-off-by: Olivier DANET <odanet@caramail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/mt2060.h')
-rw-r--r-- | drivers/media/dvb/frontends/mt2060.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/drivers/media/dvb/frontends/mt2060.h b/drivers/media/dvb/frontends/mt2060.h index d5dae102f96f..c58b03e82345 100644 --- a/drivers/media/dvb/frontends/mt2060.h +++ b/drivers/media/dvb/frontends/mt2060.h | |||
@@ -22,23 +22,14 @@ | |||
22 | #ifndef MT2060_H | 22 | #ifndef MT2060_H |
23 | #define MT2060_H | 23 | #define MT2060_H |
24 | 24 | ||
25 | #include <linux/i2c.h> | 25 | struct dvb_frontend; |
26 | #include <linux/dvb/frontend.h> | 26 | struct i2c_adapter; |
27 | 27 | ||
28 | struct mt2060_config { | 28 | struct mt2060_config { |
29 | u8 i2c_address; | 29 | u8 i2c_address; |
30 | /* Shall we add settings for the discrete outputs ? */ | 30 | /* Shall we add settings for the discrete outputs ? */ |
31 | }; | 31 | }; |
32 | 32 | ||
33 | struct mt2060_state { | 33 | extern int mt2060_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct mt2060_config *cfg, u16 if1); |
34 | struct mt2060_config *config; | ||
35 | struct i2c_adapter *i2c; | ||
36 | u16 if1_freq; | ||
37 | u8 fmfreq; | ||
38 | }; | ||
39 | |||
40 | extern int mt2060_init(struct mt2060_state *state); | ||
41 | extern int mt2060_set(struct mt2060_state *state, struct dvb_frontend_parameters *fep); | ||
42 | extern int mt2060_attach(struct mt2060_state *state, struct mt2060_config *config, struct i2c_adapter *i2c,u16 if1); | ||
43 | 34 | ||
44 | #endif | 35 | #endif |