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/bt3c_cs.c | |
parent | 6dfff895fa33b8576f82a38cee8abe5f73561e24 (diff) |
bluetooth: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/bluetooth/bt3c_cs.c')
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 7703d6e06fd9..593b7c595038 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -470,7 +470,8 @@ static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long | |||
470 | /* ======================== Card services HCI interaction ======================== */ | 470 | /* ======================== Card services HCI interaction ======================== */ |
471 | 471 | ||
472 | 472 | ||
473 | static int bt3c_load_firmware(bt3c_info_t *info, unsigned char *firmware, int count) | 473 | static int bt3c_load_firmware(bt3c_info_t *info, const unsigned char *firmware, |
474 | int count) | ||
474 | { | 475 | { |
475 | char *ptr = (char *) firmware; | 476 | char *ptr = (char *) firmware; |
476 | char b[9]; | 477 | char b[9]; |