summaryrefslogtreecommitdiff
path: root/drivers/media/usb/dvb-usb-v2/dvb_usb.h
diff options
context:
space:
mode:
authorRodrigo Tartajo <rtarty@gmail.com>2013-04-21 03:02:12 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-09 04:54:53 +0400
commit1e41413f9869c4a688b2f937ff50584bd62eeb31 (patch)
tree553cbbbc533ccff04816e64553f52c4f55c99056 /drivers/media/usb/dvb-usb-v2/dvb_usb.h
parent1bddf1b3ac021feb9dafcc2c6ef7018453e22589 (diff)
downloadlinux-1e41413f9869c4a688b2f937ff50584bd62eeb31.tar.xz
[media] rtl2832u: restore ir remote control support
Hi, This patch uses the driver from openpli[1] as a template to restore the remote control support. I had to divert from the original to use the in kernel rc protocol decoder. The key repetition does, not seem to work but I cant find the problem in the driver. As a raw rc provider, no key table is hardcoded. Rodrigo. [1]: https://aur.archlinux.org/packages/dvb-usb-rtl2832u-openpli/?comments=all Signed-off-by: Rodrigo Tartajo <rtarty@gmail.com> 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/dvb_usb.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/dvb_usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/dvb_usb.h b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
index 658c6d47fdff..399916bd588f 100644
--- a/drivers/media/usb/dvb-usb-v2/dvb_usb.h
+++ b/drivers/media/usb/dvb-usb-v2/dvb_usb.h
@@ -140,7 +140,7 @@ struct dvb_usb_rc {
int (*change_protocol)(struct rc_dev *dev, u64 *rc_type);
int (*query) (struct dvb_usb_device *d);
unsigned int interval;
- const enum rc_driver_type driver_type;
+ enum rc_driver_type driver_type;
bool bulk_mode;
};