summaryrefslogtreecommitdiff
path: root/drivers/net/usb/rtl8150.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-08 18:58:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-09 03:47:59 +0300
commit9b4355fb039a4c4b77c3ed92c049b012b92dd36b (patch)
tree2fc6fceea579176a45becf3c7733c0a988ffe802 /drivers/net/usb/rtl8150.c
parent06fa59a018f22a59446e54995cd84f0f7ec939af (diff)
downloadlinux-9b4355fb039a4c4b77c3ed92c049b012b92dd36b.tar.xz
net: usb: r8152: 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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/rtl8150.c')
0 files changed, 0 insertions, 0 deletions