]> git.baikalelectronics.ru Git - kernel.git/commit
usb: speedtch: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 9 Aug 2017 17:44:16 +0000 (23:14 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Aug 2017 18:31:26 +0000 (11:31 -0700)
commit642f00c988f31edd0b15a83edc1dec0a08b916f7
tree6da60e9daabd7deb094d8c0a1862d85be7d385be
parent7ef01f9d63d5b8f5bab0d450aec9d8d03707faf2
usb: speedtch: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/atm/speedtch.c