]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: usb: ipheth: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 15:58:03 +0000 (21:28 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 00:47:58 +0000 (17:47 -0700)
commit9befbe13eba9a6cd8d5dda1d6716bb5163f3b1c2
treecbbc6c25076ee6675230996bfcdd551dd7cdd886
parent7f04c61d91c8cec3b89d62d74c5ec4ed1b0919aa
net: usb: ipheth: 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>
drivers/net/usb/ipheth.c