OSDN Git Service

[media] media: rc: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 13 Aug 2017 08:54:44 +0000 (05:54 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 18:06:09 +0000 (15:06 -0300)
commit5fad16b5969b43a9722bbe3b288e40bff0003504
tree9dc83ca0328a0c692ea61466f725b8cc5ada4f3e
parentb15e39379fe8700fe0ec849a5c5ee2b44cd16381
[media] media: rc: constify usb_device_id

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/rc/ati_remote.c
drivers/media/rc/igorplugusb.c
drivers/media/rc/imon.c
drivers/media/rc/mceusb.c
drivers/media/rc/redrat3.c
drivers/media/rc/streamzap.c