From 8b79c7ab11c4de580972042244f078a1bb9ff0cd Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Thu, 13 Jul 2017 02:42:52 -0400 Subject: media: af9015: convert to regmap api Use regmap for chip register access. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/usb/dvb-usb-v2/af9015.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/media/usb/dvb-usb-v2/af9015.h') 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 +#include #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; -- cgit v1.2.3