hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/usb/storage/usual-tables.c
....@@ -40,7 +40,7 @@
4040 .driver_info = (flags) \
4141 }
4242
43
-struct usb_device_id usb_storage_usb_ids[] = {
43
+const struct usb_device_id usb_storage_usb_ids[] = {
4444 # include "unusual_devs.h"
4545 { } /* Terminating entry */
4646 };
....@@ -68,7 +68,7 @@
6868 .bcdmax = bcdDeviceMax, \
6969 }
7070
71
-static struct ignore_entry ignore_ids[] = {
71
+static const struct ignore_entry ignore_ids[] = {
7272 # include "unusual_alauda.h"
7373 # include "unusual_cypress.h"
7474 # include "unusual_datafab.h"
....@@ -92,7 +92,7 @@
9292 {
9393 struct usb_device *udev;
9494 unsigned vid, pid, bcd;
95
- struct ignore_entry *p;
95
+ const struct ignore_entry *p;
9696
9797 udev = interface_to_usbdev(intf);
9898 vid = le16_to_cpu(udev->descriptor.idVendor);