summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/af9013_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2017-06-12 07:49:33 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-20 15:22:11 +0200
commitf458a1bc671c38a7819be7f047d47dedcbc16aca (patch)
tree06fdb9c1597f2962984fd74aa24c79a3b0055a10 /drivers/media/dvb-frontends/af9013_priv.h
parent[media] af9013: fix logging (diff)
downloadlinux-f458a1bc671c38a7819be7f047d47dedcbc16aca.tar.xz
linux-f458a1bc671c38a7819be7f047d47dedcbc16aca.zip
[media] af9013: convert to regmap api
Use regmap for register access. Own low level i2c read and write routines for regmap is still needed because chip uses single command byte in addition to typical i2c register access. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/af9013_priv.h')
-rw-r--r--drivers/media/dvb-frontends/af9013_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9013_priv.h b/drivers/media/dvb-frontends/af9013_priv.h
index 97b5b0c0fe77..35ca5c9bcacd 100644
--- a/drivers/media/dvb-frontends/af9013_priv.h
+++ b/drivers/media/dvb-frontends/af9013_priv.h
@@ -25,6 +25,7 @@
#include "af9013.h"
#include <linux/firmware.h>
#include <linux/math64.h>
+#include <linux/regmap.h>
#define AF9013_FIRMWARE "dvb-fe-af9013.fw"