aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/mt2060.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/mt2060.h')
-rw-r--r--drivers/media/dvb/frontends/mt2060.h15
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> 25struct dvb_frontend;
26#include <linux/dvb/frontend.h> 26struct i2c_adapter;
27 27
28struct mt2060_config { 28struct 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
33struct mt2060_state { 33extern 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
40extern int mt2060_init(struct mt2060_state *state);
41extern int mt2060_set(struct mt2060_state *state, struct dvb_frontend_parameters *fep);
42extern int mt2060_attach(struct mt2060_state *state, struct mt2060_config *config, struct i2c_adapter *i2c,u16 if1);
43 34
44#endif 35#endif