diff options
author | Márton Németh <nm127@freemail.hu> | 2010-01-12 02:49:14 -0500 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2010-01-14 12:14:08 -0500 |
commit | 34446d05dd255b34518c76d2b8760161e63fe0c1 (patch) | |
tree | 6da0769742d8967ef08dc2dfdacd4c244a7ced67 /drivers/uwb/i1480 | |
parent | 145434bee45bd353f9a93e9b411f7aa7cc677c08 (diff) |
uwb: make USB device id table constant
The id_table field of the struct usb_device_id is constant in <linux/usb.h>
so it is worth to make the initialization data also constant.
Signed-off-by: Márton Németh <nm127@freemail.hu>
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/i1480')
-rw-r--r-- | drivers/uwb/i1480/dfu/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/i1480/dfu/usb.c b/drivers/uwb/i1480/dfu/usb.c index 0bb665a0c02..08f9a7b95c4 100644 --- a/drivers/uwb/i1480/dfu/usb.c +++ b/drivers/uwb/i1480/dfu/usb.c | |||
@@ -430,7 +430,7 @@ error: | |||
430 | 430 | ||
431 | 431 | ||
432 | /** USB device ID's that we handle */ | 432 | /** USB device ID's that we handle */ |
433 | static struct usb_device_id i1480_usb_id_table[] = { | 433 | static const struct usb_device_id i1480_usb_id_table[] = { |
434 | i1480_USB_DEV(0x8086, 0xdf3b), | 434 | i1480_USB_DEV(0x8086, 0xdf3b), |
435 | i1480_USB_DEV(0x15a9, 0x0005), | 435 | i1480_USB_DEV(0x15a9, 0x0005), |
436 | i1480_USB_DEV(0x07d1, 0x3802), | 436 | i1480_USB_DEV(0x07d1, 0x3802), |