summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-09 02:20:55 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 20:48:44 +0100
commitaba4e34a788d10a9578969ae836627400d2d21a2 (patch)
tree67f77e59d8a63b76e23a334dbd036feb66238cb8 /drivers/media/dvb-frontends/rtl2830_priv.h
parent[media] rtl28xxu: use I2C binding for RTL2830 demod driver (diff)
downloadlinux-aba4e34a788d10a9578969ae836627400d2d21a2.tar.xz
linux-aba4e34a788d10a9578969ae836627400d2d21a2.zip
[media] rtl2830: get rid of legacy DVB driver binding
Remove legacy DVB binding as all users are using I2C binding. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/rtl2830_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2830_priv.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index 1a78351fe693..545907a3583e 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -26,6 +26,15 @@
#include "rtl2830.h"
#include <linux/i2c-mux.h>
+struct rtl2830_config {
+ u8 i2c_addr;
+ u32 xtal;
+ bool spec_inv;
+ u8 vtop;
+ u8 krf;
+ u8 agc_targ_val;
+};
+
struct rtl2830_priv {
struct i2c_adapter *adapter;
struct i2c_adapter *i2c;