summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv6110x_priv.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-04-07 10:19:54 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 23:20:38 +0200
commit017eb0381fedbfdcad1e8e536d014c4064e6687f (patch)
treeb88ea3f72137c515ad5fd18785787a07915d5a13 /drivers/media/dvb/frontends/stv6110x_priv.h
parentV4L/DVB (11580): budget-ci: Fix incorrect default CLOCK setup (diff)
downloadlinux-017eb0381fedbfdcad1e8e536d014c4064e6687f.tar.xz
linux-017eb0381fedbfdcad1e8e536d014c4064e6687f.zip
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 @@
#define TRIALS 10
#define R_DIV(__div) (1 << (__div + 1))
-#define REFCLOCK_kHz (stv6110x->reference / 1000)
-#define REFCLOCK_MHz (stv6110x->reference / 1000000)
+#define REFCLOCK_kHz (stv6110x->config->refclk / 1000)
+#define REFCLOCK_MHz (stv6110x->config->refclk / 1000000)
struct stv6110x_state {
struct i2c_adapter *i2c;
const struct stv6110x_config *config;
struct stv6110x_devctl *devctl;
-
- u32 reference;
};
#endif /* __STV6110x_PRIV_H */