diff options
Diffstat (limited to 'drivers/media/rc/streamzap.c')
| -rw-r--r-- | drivers/media/rc/streamzap.c | 11 | 
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/media/rc/streamzap.c b/drivers/media/rc/streamzap.c index d7b11e6a998..bd5e4ff9e0b 100644 --- a/drivers/media/rc/streamzap.c +++ b/drivers/media/rc/streamzap.c @@ -42,12 +42,6 @@  #define DRIVER_NAME	"streamzap"  #define DRIVER_DESC	"Streamzap Remote Control driver" -#ifdef CONFIG_USB_DEBUG -static bool debug = 1; -#else -static bool debug; -#endif -  #define USB_STREAMZAP_VENDOR_ID		0x0e9c  #define USB_STREAMZAP_PRODUCT_ID	0x0000 @@ -322,7 +316,7 @@ static struct rc_dev *streamzap_init_rc_dev(struct streamzap_ir *sz)  	rdev->dev.parent = dev;  	rdev->priv = sz;  	rdev->driver_type = RC_DRIVER_IR_RAW; -	rdev->allowed_protos = RC_BIT_ALL; +	rc_set_allowed_protocols(rdev, RC_BIT_ALL);  	rdev->driver_name = DRIVER_NAME;  	rdev->map_name = RC_MAP_STREAMZAP; @@ -528,6 +522,3 @@ module_usb_driver(streamzap_driver);  MODULE_AUTHOR("Jarod Wilson <jarod@wilsonet.com>");  MODULE_DESCRIPTION(DRIVER_DESC);  MODULE_LICENSE("GPL"); - -module_param(debug, bool, S_IRUGO | S_IWUSR); -MODULE_PARM_DESC(debug, "Enable debugging messages");  | 
