Bluetooth: Declare bpa10x_table[] as const
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:46:20 +0000 (07:46 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:05:22 +0000 (17:05 +0200)
The bpa10x_table[] device table can be declared as const

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
drivers/bluetooth/bpa10x.c

index b9e4e621fb10a9a0cc3bb34e2251e028c5a0f1b1..8a319913c9a96fd60c6d021c5edd055b83ef0aad 100644 (file)
@@ -37,7 +37,7 @@
 
 #define VERSION "0.10"
 
-static struct usb_device_id bpa10x_table[] = {
+static const struct usb_device_id bpa10x_table[] = {
        /* Tektronix BPA 100/105 (Digianswer) */
        { USB_DEVICE(0x08fd, 0x0002) },