summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/rtl28xxu.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-06-04 16:17:03 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-09 04:55:38 +0400
commitf39fac3e409322d23261e89374a7d9daecfd6acb (patch)
treee8e3c74db32393da66f3939bda145ae5a0ebd2bd /drivers/media/usb/dvb-usb-v2/rtl28xxu.h
parent1e41413f9869c4a688b2f937ff50584bd62eeb31 (diff)
downloadlinux-f39fac3e409322d23261e89374a7d9daecfd6acb.tar.xz
[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;
};