Skip to content

Commit 9712d59

Browse files
holtmannjhedberg
authored andcommitted
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>
1 parent 5426520 commit 9712d59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/bluetooth/bfusb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
static struct usb_driver bfusb_driver;
4444

45-
static struct usb_device_id bfusb_table[] = {
45+
static const struct usb_device_id bfusb_table[] = {
4646
/* AVM BlueFRITZ! USB */
4747
{ USB_DEVICE(0x057c, 0x2200) },
4848

0 commit comments

Comments
 (0)