summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/rtl8150.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-08-08 17:58:05 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-09 02:47:59 +0200
commit9b4355fb039a4c4b77c3ed92c049b012b92dd36b (patch)
tree2fc6fceea579176a45becf3c7733c0a988ffe802 /drivers/net/usb/rtl8150.c
parentnet: usb: kaweth: constify usb_device_id (diff)
downloadlinux-9b4355fb039a4c4b77c3ed92c049b012b92dd36b.tar.xz
linux-9b4355fb039a4c4b77c3ed92c049b012b92dd36b.zip
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 '')
0 files changed, 0 insertions, 0 deletions