projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5426520
)
Bluetooth: Declare bfusb_table[] as const
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 11 Oct 2013 14:46:19 +0000
(07:46 -0700)
committer
Johan 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
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/bfusb.c
b/drivers/bluetooth/bfusb.c
index
cce2304
..
3138699
100644
(file)
--- a/
drivers/bluetooth/bfusb.c
+++ b/
drivers/bluetooth/bfusb.c
@@
-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) },