Skip to contentSkip to conversation

Bluetooth: Declare bfusb_table[] as const

PATCH In review Marcel Holtmann 1 participant 1 message Oct 11, 2013 Bluetooth drivers

lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 2/4 Bluetooth: Declare bfusb_table[] as const

The bfusb_table[] device table can be declared as const

---
 drivers/bluetooth/bfusb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/bluetooth/bfusb.c +1 -1
index cce2304..3138699 100644
@@ -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) },
 
Signature · 1 line
1.8.3.1