diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-11 10:46:21 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-11 11:05:24 -0400 |
commit | 3932eb335a7da8d43090378ea11ba84c3ec0b94a (patch) | |
tree | 0c08a61d7fb0c9b84f23ecee2b10603ebef432d4 /drivers/bluetooth | |
parent | e8549384d0bc67fc4b5b37347080b457ebd8902c (diff) |
Bluetooth: Declare ath3k_table[] and ath3k_blist_tbl[] as const
The ath3k_table[] and ath3k_blist_tbl[] USB device tables can be
declared as const.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/ath3k.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index 0a327f4154a2..6bfc1bb318f6 100644 --- a/drivers/bluetooth/ath3k.c +++ b/drivers/bluetooth/ath3k.c | |||
@@ -57,7 +57,7 @@ struct ath3k_version { | |||
57 | unsigned char reserved[0x07]; | 57 | unsigned char reserved[0x07]; |
58 | }; | 58 | }; |
59 | 59 | ||
60 | static struct usb_device_id ath3k_table[] = { | 60 | static const struct usb_device_id ath3k_table[] = { |
61 | /* Atheros AR3011 */ | 61 | /* Atheros AR3011 */ |
62 | { USB_DEVICE(0x0CF3, 0x3000) }, | 62 | { USB_DEVICE(0x0CF3, 0x3000) }, |
63 | 63 | ||
@@ -112,7 +112,7 @@ MODULE_DEVICE_TABLE(usb, ath3k_table); | |||
112 | #define BTUSB_ATH3012 0x80 | 112 | #define BTUSB_ATH3012 0x80 |
113 | /* This table is to load patch and sysconfig files | 113 | /* This table is to load patch and sysconfig files |
114 | * for AR3012 */ | 114 | * for AR3012 */ |
115 | static struct usb_device_id ath3k_blist_tbl[] = { | 115 | static const struct usb_device_id ath3k_blist_tbl[] = { |
116 | 116 | ||
117 | /* Atheros AR3012 with sflash firmware*/ | 117 | /* Atheros AR3012 with sflash firmware*/ |
118 | { USB_DEVICE(0x0CF3, 0x0036), .driver_info = BTUSB_ATH3012 }, | 118 | { USB_DEVICE(0x0CF3, 0x0036), .driver_info = BTUSB_ATH3012 }, |