diff options
-rw-r--r-- | drivers/bluetooth/bfusb.c | 3 | ||||
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 3 |
2 files changed, 4 insertions, 2 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; |
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]; |