diff options
author | Antti Palosaari <crope@iki.fi> | 2014-12-14 08:45:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-02-03 19:05:33 +0100 |
commit | d10165815b5a319b12554a2ad83f3e1598a9ea8f (patch) | |
tree | 48d33af0a9ba47e2f908909450a5337f31a42794 /drivers/media/dvb-frontends/rtl2832_priv.h | |
parent | [media] rtl28xxu: use platform data config for rtl2832 demod (diff) | |
download | linux-d10165815b5a319b12554a2ad83f3e1598a9ea8f.tar.xz linux-d10165815b5a319b12554a2ad83f3e1598a9ea8f.zip |
[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.h | 4 |
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; }; |