]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Bluetooth: Declare bfusb_table[] as const
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 14:46:19 +0000 (07:46 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:05:20 +0000 (17:05 +0200)
The bfusb_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/bfusb.c

index cce23041118f474fba4cda3c249090e1f990bf3a..31386998c9a7b4159f04194f2125ee10d73cc920 100644 (file)
@@ -42,7 +42,7 @@
 
 static struct usb_driver bfusb_driver;
 
-static struct usb_device_id bfusb_table[] = {
+static const struct usb_device_id bfusb_table[] = {
        /* AVM BlueFRITZ! USB */
        { USB_DEVICE(0x057c, 0x2200) },