summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-07 04:07:29 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-02 17:47:32 -0200
commit28c08799390befbf0821ad6dcc3a38ade454cef9 (patch)
tree552021fa0eb7a26902e8867f95cc2cecf5c132ba /drivers/media/dvb-frontends/rtl2830_priv.h
parentac5361a8c8ab29d2a6d849fed05326304e9d1ef8 (diff)
downloadtalos-obmc-linux-28c08799390befbf0821ad6dcc3a38ade454cef9.tar.gz
talos-obmc-linux-28c08799390befbf0821ad6dcc3a38ade454cef9.zip
[media] rtl2830: convert driver to kernel I2C model
Convert driver to kernel I2C model. Old DVB proprietary model is still left there also. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index fab10ecb3c3b..1a78351fe693 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -24,8 +24,10 @@
#include "dvb_frontend.h"
#include "dvb_math.h"
#include "rtl2830.h"
+#include <linux/i2c-mux.h>
struct rtl2830_priv {
+ struct i2c_adapter *adapter;
struct i2c_adapter *i2c;
struct dvb_frontend fe;
struct rtl2830_config cfg;
OpenPOWER on IntegriCloud