Skip to contentSkip to conversation

Bluetooth: Declare bpa10x_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 3/4 Bluetooth: Declare bpa10x_table[] as const

The bpa10x_table[] device table can be declared as const

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