summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-06-04 14:17:03 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-09 02:55:38 +0200
commitf39fac3e409322d23261e89374a7d9daecfd6acb (patch)
treee8e3c74db32393da66f3939bda145ae5a0ebd2bd /drivers/media/usb/dvb-usb-v2/rtl28xxu.h
parent[media] rtl2832u: restore ir remote control support (diff)
downloadlinux-f39fac3e409322d23261e89374a7d9daecfd6acb.tar.xz
linux-f39fac3e409322d23261e89374a7d9daecfd6acb.zip
[media] rtl28xxu: reimplement rtl2832u remote controller
Thanks to Rodrigo for original implementation! Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/rtl28xxu.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
index 0177b3871ba4..729b3540c2f9 100644
--- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
+++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
@@ -97,14 +97,9 @@ struct rtl28xxu_reg_val {
u8 val;
};
-enum OP{
- OP_AND =0,
- OP_OR
-};
-
-struct rtl28xxu_xreg_val {
+struct rtl28xxu_reg_val_mask {
u16 reg;
- u8 op;
+ u8 val;
u8 mask;
};