diff options
author | David Woodhouse <dwmw2@infradead.org> | 2008-05-23 18:56:51 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-07-10 09:25:59 -0400 |
commit | 8187b4fb9c17ea8e2a71c0563434f3ee08aad0d7 (patch) | |
tree | 6d29c542d4b57b93ad7d2ad938eb9eedf26376d5 /drivers/bluetooth/bfusb.c | |
parent | 6dfff895fa33b8576f82a38cee8abe5f73561e24 (diff) |
bluetooth: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/bluetooth/bfusb.c')
-rw-r--r-- | drivers/bluetooth/bfusb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c index b990805806af..0c211adbc063 100644 --- a/drivers/bluetooth/bfusb.c +++ b/drivers/bluetooth/bfusb.c | |||
@@ -566,7 +566,8 @@ static int bfusb_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg | |||
566 | return -ENOIOCTLCMD; | 566 | return -ENOIOCTLCMD; |
567 | } | 567 | } |
568 | 568 | ||
569 | static int bfusb_load_firmware(struct bfusb_data *data, unsigned char *firmware, int count) | 569 | static int bfusb_load_firmware(struct bfusb_data *data, |
570 | const unsigned char *firmware, int count) | ||
570 | { | 571 | { |
571 | unsigned char *buf; | 572 | unsigned char *buf; |
572 | int err, pipe, len, size, sent = 0; | 573 | int err, pipe, len, size, sent = 0; |