aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/m88ts2022_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-08-21 18:22:05 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-08 10:00:55 -0300
commit35c77a85463cacf7fe2fa8e998698170c42e80f6 (patch)
treeda0cc0e34de9ec715ceb7a7d98fa6acffc0f9205 /drivers/media/tuners/m88ts2022_priv.h
parent[media] m88ts2022: clean up logging (diff)
downloadlinux-dev-35c77a85463cacf7fe2fa8e998698170c42e80f6.tar.xz
linux-dev-35c77a85463cacf7fe2fa8e998698170c42e80f6.zip
[media] m88ts2022: convert to RegMap I2C API
Use RegMap to cover I2C register routines. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/m88ts2022_priv.h')
-rw-r--r--drivers/media/tuners/m88ts2022_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/m88ts2022_priv.h b/drivers/media/tuners/m88ts2022_priv.h
index e7f6c91a7f72..56c107160f4e 100644
--- a/drivers/media/tuners/m88ts2022_priv.h
+++ b/drivers/media/tuners/m88ts2022_priv.h
@@ -18,10 +18,12 @@
#define M88TS2022_PRIV_H
#include "m88ts2022.h"
+#include <linux/regmap.h>
struct m88ts2022_dev {
struct m88ts2022_config cfg;
struct i2c_client *client;
+ struct regmap *regmap;
struct dvb_frontend *fe;
u32 frequency_khz;
};