Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Bluetooth: Declare bfusb_table[] as const

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>

authored by

Marcel Holtmann and committed by
Johan Hedberg
9712d59a 54265202

+1 -1
+1 -1
drivers/bluetooth/bfusb.c
··· 42 42 43 43 static struct usb_driver bfusb_driver; 44 44 45 - static struct usb_device_id bfusb_table[] = { 45 + static const struct usb_device_id bfusb_table[] = { 46 46 /* AVM BlueFRITZ! USB */ 47 47 { USB_DEVICE(0x057c, 0x2200) }, 48 48