Input: make USB device ids constant
The id_table field of the struct usb_device_id is constant in <linux/usb.h> so it makes sense to mark the initialization data also constant. Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:

committed by
Dmitry Torokhov

parent
c6d5709384
commit
9cb3ce52ca
@@ -92,7 +92,7 @@ Scott Hill shill@gtcocalcomp.com
|
||||
/* DATA STRUCTURES */
|
||||
|
||||
/* Device table */
|
||||
static struct usb_device_id gtco_usbid_table [] = {
|
||||
static const struct usb_device_id gtco_usbid_table[] = {
|
||||
{ USB_DEVICE(VENDOR_ID_GTCO, PID_400) },
|
||||
{ USB_DEVICE(VENDOR_ID_GTCO, PID_401) },
|
||||
{ USB_DEVICE(VENDOR_ID_GTCO, PID_1000) },
|
||||
|
Reference in New Issue
Block a user