aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/wusbcore/dev-sysfs.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-09 23:14:16 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-10 11:31:26 -0700
commit1e44f54b9c5053bf3a48701fc1df3b35ce9c2bcd (patch)
tree6da60e9daabd7deb094d8c0a1862d85be7d385be /drivers/usb/wusbcore/dev-sysfs.c
parentusb: hwa-hc: constify usb_device_id (diff)
downloadlinux-dev-1e44f54b9c5053bf3a48701fc1df3b35ce9c2bcd.tar.xz
linux-dev-1e44f54b9c5053bf3a48701fc1df3b35ce9c2bcd.zip
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>
Diffstat (limited to 'drivers/usb/wusbcore/dev-sysfs.c')
0 files changed, 0 insertions, 0 deletions