mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 12:47:12 +07:00
mwifiex: 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: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
8a3132fa6b
commit
7516dbd470
@ -24,7 +24,7 @@
|
||||
|
||||
static struct mwifiex_if_ops usb_ops;
|
||||
|
||||
static struct usb_device_id mwifiex_usb_table[] = {
|
||||
static const struct usb_device_id mwifiex_usb_table[] = {
|
||||
/* 8766 */
|
||||
{USB_DEVICE(USB8XXX_VID, USB8766_PID_1)},
|
||||
{USB_DEVICE_AND_INTERFACE_INFO(USB8XXX_VID, USB8766_PID_2,
|
||||
|
Loading…
Reference in New Issue
Block a user