projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9712d59
)
Bluetooth: Declare bpa10x_table[] as const
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 11 Oct 2013 14:46:20 +0000
(07:46 -0700)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Fri, 11 Oct 2013 15:05:22 +0000
(17:05 +0200)
The bpa10x_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/bpa10x.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/bpa10x.c
b/drivers/bluetooth/bpa10x.c
index
b9e4e62
..
8a31991
100644
(file)
--- a/
drivers/bluetooth/bpa10x.c
+++ b/
drivers/bluetooth/bpa10x.c
@@
-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) },