summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/af9015.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2017-07-13 09:42:52 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-21 21:15:34 +0300
commit8b79c7ab11c4de580972042244f078a1bb9ff0cd (patch)
tree1e09361b828b7b984d1097ac1bf7663ebc815de3 /drivers/media/usb/dvb-usb-v2/af9015.h
parent19324414c954e68921271bfc1f4a235c90a557c6 (diff)
downloadlinux-8b79c7ab11c4de580972042244f078a1bb9ff0cd.tar.xz
media: af9015: convert to regmap api
Use regmap for chip 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/usb/dvb-usb-v2/af9015.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/af9015.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/af9015.h b/drivers/media/usb/dvb-usb-v2/af9015.h
index 28710aaf058a..ad2b045cc39c 100644
--- a/drivers/media/usb/dvb-usb-v2/af9015.h
+++ b/drivers/media/usb/dvb-usb-v2/af9015.h
@@ -21,6 +21,7 @@
#define AF9015_H
#include <linux/hash.h>
+#include <linux/regmap.h>
#include "dvb_usb.h"
#include "af9013.h"
#include "dvb-pll.h"
@@ -100,6 +101,7 @@ enum af9015_ir_mode {
#define BUF_LEN 63
struct af9015_state {
+ struct regmap *regmap;
u8 buf[BUF_LEN]; /* bulk USB control message */
u8 ir_mode;
u8 rc_repeat;