]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/bluetooth/bt3c_cs.c
bluetooth: treat firmware data as const
[linux-2.6-omap-h63xx.git] / drivers / bluetooth / bt3c_cs.c
index 7703d6e06fd988926dd2e697e32c4a57eee37158..593b7c5950380bff58d8dac8d19ba95cf129220d 100644 (file)
@@ -470,7 +470,8 @@ static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long
 /* ======================== Card services HCI interaction ======================== */
 
 
-static int bt3c_load_firmware(bt3c_info_t *info, unsigned char *firmware, int count)
+static int bt3c_load_firmware(bt3c_info_t *info, const unsigned char *firmware,
+                             int count)
 {
        char *ptr = (char *) firmware;
        char b[9];