summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/tda10071_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2015-04-20 22:21:44 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 07:12:50 -0300
commit54ab48ed5db69212b9b6abc88d21cbbd5c16e7c3 (patch)
treea6cb8edefde7fb2036fec455aced3492133eb266 /drivers/media/dvb-frontends/tda10071_priv.h
parentfca3e00760edc18955483b25d835630ee1bf3e97 (diff)
[media] tda10071: convert to regmap I2C API
Use regmap API for I2C operations. 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/tda10071_priv.h')
-rw-r--r--drivers/media/dvb-frontends/tda10071_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/tda10071_priv.h b/drivers/media/dvb-frontends/tda10071_priv.h
index 98000282b5a6..30143c8f8bb8 100644
--- a/drivers/media/dvb-frontends/tda10071_priv.h
+++ b/drivers/media/dvb-frontends/tda10071_priv.h
@@ -24,10 +24,12 @@
#include "dvb_frontend.h"
#include "tda10071.h"
#include <linux/firmware.h>
+#include <linux/regmap.h>
struct tda10071_dev {
struct dvb_frontend fe;
struct i2c_client *client;
+ struct regmap *regmap;
u32 clk;
u16 i2c_wr_max;
u8 ts_mode;