summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/rtl2830_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-12-12 01:03:51 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-03 15:59:19 -0200
commit15d37f382469b1f35a9fb97f839eb3122ef7bc98 (patch)
treeecfbbf86104141acab6424523e80b7dcd06150e4 /drivers/media/dvb-frontends/rtl2830_priv.h
parentfd4cfa8bb1bc0cdd385f33303b5058674ea8e24c (diff)
[media] rtl2830: 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/rtl2830_priv.h')
-rw-r--r--drivers/media/dvb-frontends/rtl2830_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/rtl2830_priv.h b/drivers/media/dvb-frontends/rtl2830_priv.h
index 517758ab687a..d50d5376c9c5 100644
--- a/drivers/media/dvb-frontends/rtl2830_priv.h
+++ b/drivers/media/dvb-frontends/rtl2830_priv.h
@@ -23,15 +23,15 @@
#include "rtl2830.h"
#include <linux/i2c-mux.h>
#include <linux/math64.h>
+#include <linux/regmap.h>
struct rtl2830_dev {
struct rtl2830_platform_data *pdata;
struct i2c_client *client;
+ struct regmap *regmap;
struct i2c_adapter *adapter;
struct dvb_frontend fe;
bool sleeping;
- struct mutex i2c_mutex;
- u8 page; /* active register page */
unsigned long filters;
struct delayed_work stat_work;
fe_status_t fe_status;