projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/bluetooth/bfusb.c
b/drivers/bluetooth/bfusb.c
index cce23041118f474fba4cda3c249090e1f990bf3a..31386998c9a7b4159f04194f2125ee10d73cc920 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) },