summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/hwa-rc.c
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2010-01-12 08:49:14 +0100
committerDavid Vrabel <david.vrabel@csr.com>2010-01-14 17:14:08 +0000
commit34446d05dd255b34518c76d2b8760161e63fe0c1 (patch)
tree6da0769742d8967ef08dc2dfdacd4c244a7ced67 /drivers/uwb/hwa-rc.c
parent145434bee45bd353f9a93e9b411f7aa7cc677c08 (diff)
downloadlinux-34446d05dd255b34518c76d2b8760161e63fe0c1.tar.gz
linux-34446d05dd255b34518c76d2b8760161e63fe0c1.tar.bz2
linux-34446d05dd255b34518c76d2b8760161e63fe0c1.zip
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/hwa-rc.c')
-rw-r--r--drivers/uwb/hwa-rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/hwa-rc.c b/drivers/uwb/hwa-rc.c
index e7eeb63fab23..b409c228f254 100644
--- a/drivers/uwb/hwa-rc.c
+++ b/drivers/uwb/hwa-rc.c
@@ -891,7 +891,7 @@ static int hwarc_post_reset(struct usb_interface *iface)
}
/** USB device ID's that we handle */
-static struct usb_device_id hwarc_id_table[] = {
+static const struct usb_device_id hwarc_id_table[] = {
/* D-Link DUB-1210 */
{ USB_DEVICE_AND_INTERFACE_INFO(0x07d1, 0x3d02, 0xe0, 0x01, 0x02),
.driver_info = WUSB_QUIRK_WHCI_CMD_EVT },