aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv6110x_priv.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-04-07 04:19:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 17:20:38 -0400
commit017eb0381fedbfdcad1e8e536d014c4064e6687f (patch)
treeb88ea3f72137c515ad5fd18785787a07915d5a13 /drivers/media/dvb/frontends/stv6110x_priv.h
parentdd4c2b3f6a2d30602d22485ab725c84f2fb074b6 (diff)
V4L/DVB (11581): stv090x and stv6110x: fix repeater level setup and ref clock
* Reference clock was unused * Fix missing repeater level setup Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stv6110x_priv.h')
-rw-r--r--drivers/media/dvb/frontends/stv6110x_priv.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stv6110x_priv.h b/drivers/media/dvb/frontends/stv6110x_priv.h
index 1295272fcff8..7260da633d49 100644
--- a/drivers/media/dvb/frontends/stv6110x_priv.h
+++ b/drivers/media/dvb/frontends/stv6110x_priv.h
@@ -62,16 +62,14 @@
62 62
63#define TRIALS 10 63#define TRIALS 10
64#define R_DIV(__div) (1 << (__div + 1)) 64#define R_DIV(__div) (1 << (__div + 1))
65#define REFCLOCK_kHz (stv6110x->reference / 1000) 65#define REFCLOCK_kHz (stv6110x->config->refclk / 1000)
66#define REFCLOCK_MHz (stv6110x->reference / 1000000) 66#define REFCLOCK_MHz (stv6110x->config->refclk / 1000000)
67 67
68struct stv6110x_state { 68struct stv6110x_state {
69 struct i2c_adapter *i2c; 69 struct i2c_adapter *i2c;
70 const struct stv6110x_config *config; 70 const struct stv6110x_config *config;
71 71
72 struct stv6110x_devctl *devctl; 72 struct stv6110x_devctl *devctl;
73
74 u32 reference;
75}; 73};
76 74
77#endif /* __STV6110x_PRIV_H */ 75#endif /* __STV6110x_PRIV_H */