summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-09 04:24:13 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 20:52:25 +0100
commitb8cb50d237ff1590e2b39031e5d7d3e1bcd49c5b (patch)
tree6936e41d4929385114bd0861eb8644688d788281 /drivers/media/dvb-frontends/rtl2830_priv.h
parent[media] rtl2830: fix logging (diff)
downloadlinux-b8cb50d237ff1590e2b39031e5d7d3e1bcd49c5b.tar.xz
linux-b8cb50d237ff1590e2b39031e5d7d3e1bcd49c5b.zip
[media] rtl2830: get rid of internal config data
Remove internal config and use configuration values directly from the platform data. 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.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index 9e7bd4264ac1..5276fb210990 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -26,24 +26,11 @@
#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_dev {
+ struct rtl2830_platform_data *pdata;
struct i2c_adapter *adapter;
- struct i2c_adapter *i2c;
struct dvb_frontend fe;
- struct rtl2830_config cfg;
- struct i2c_adapter tuner_i2c_adapter;
-
bool sleeping;
-
u8 page; /* active register page */
};