summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2832_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-14 10:45:57 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 21:05:33 +0300
commitd10165815b5a319b12554a2ad83f3e1598a9ea8f (patch)
tree48d33af0a9ba47e2f908909450a5337f31a42794 /drivers/media/dvb-frontends/rtl2832_priv.h
parentde0a5f1132458331148b23731d063417c3bac910 (diff)
downloadlinux-d10165815b5a319b12554a2ad83f3e1598a9ea8f.tar.xz
[media] rtl2832: convert to regmap API
Use regmap to cover register access routines. 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/rtl2832_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2832_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2832_priv.h b/drivers/media/dvb-frontends/rtl2832_priv.h
index 899533241925..eacd4e4d8ea3 100644
--- a/drivers/media/dvb-frontends/rtl2832_priv.h
+++ b/drivers/media/dvb-frontends/rtl2832_priv.h
@@ -24,18 +24,18 @@
#include "dvb_frontend.h"
#include "rtl2832.h"
#include <linux/i2c-mux.h>
+#include <linux/regmap.h>
struct rtl2832_dev {
struct rtl2832_platform_data *pdata;
struct i2c_client *client;
+ struct regmap *regmap;
struct i2c_adapter *i2c_adapter;
struct i2c_adapter *i2c_adapter_tuner;
struct dvb_frontend fe;
bool i2c_gate_state;
bool sleeping;
-
- u8 page; /* active register page */
struct delayed_work i2c_gate_work;
};