commit | 9b4355fb039a4c4b77c3ed92c049b012b92dd36b | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Tue Aug 08 21:28:05 2017 +0530 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 08 17:47:59 2017 -0700 |
tree | 2fc6fceea579176a45becf3c7733c0a988ffe802 | |
parent | 06fa59a018f22a59446e54995cd84f0f7ec939af [diff] |
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>