aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bfusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bluetooth/bfusb.c')
-rw-r--r--drivers/bluetooth/bfusb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/bluetooth/bfusb.c b/drivers/bluetooth/bfusb.c
index b990805806a..0c211adbc06 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
569static int bfusb_load_firmware(struct bfusb_data *data, unsigned char *firmware, int count) 569static 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;