projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/drivers/bluetooth/bpa10x.c
b/drivers/bluetooth/bpa10x.c
index b9e4e621fb10a9a0cc3bb34e2251e028c5a0f1b1..8a319913c9a96fd60c6d021c5edd055b83ef0aad 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) },