summaryrefslogtreecommitdiff
path: root/drivers/media/tuners/e4000_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-02-08 06:20:35 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-14 05:36:45 -0300
commitbd428bbc7527d4ea195712598c1c252ebb4554ae (patch)
tree05c80eb91f9038222d1b4e886aab5ca3a7945f48 /drivers/media/tuners/e4000_priv.h
parent1c73fc6bb542859a7f37bfc2d34f21da8a51bd30 (diff)
[media] e4000: convert to Regmap API
That comes possible after driver was converted to kernel I2C model (I2C binding & proper I2C client with no gate control hack). All nasty low level I2C routines are now covered by regmap. Cc: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/e4000_priv.h')
-rw-r--r--drivers/media/tuners/e4000_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/e4000_priv.h b/drivers/media/tuners/e4000_priv.h
index 3ddd9802ff3c..e772b00cefb9 100644
--- a/drivers/media/tuners/e4000_priv.h
+++ b/drivers/media/tuners/e4000_priv.h
@@ -24,9 +24,11 @@
#include "e4000.h"
#include <media/v4l2-ctrls.h>
#include <media/v4l2-subdev.h>
+#include <linux/regmap.h>
struct e4000_priv {
struct i2c_client *client;
+ struct regmap *regmap;
u32 clock;
struct dvb_frontend *fe;
struct v4l2_subdev sd;