]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: hfcsusb: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 8 Aug 2017 16:49:28 +0000 (22:19 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Aug 2017 04:38:27 +0000 (21:38 -0700)
commitd3ecdd206d915af5e75882e762fffd72061aaf78
treee2e55d90af3611c9fffb2cb920d9ec33e821ec2e
parentc3e2eee3a7a7530b769eb4f3e1bdc764ab6442a8
isdn: hfcsusb: 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/isdn/hardware/mISDN/hfcsusb.h