Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
[pandora-kernel.git] / drivers / net / wireless / libertas / if_usb.c
index a8b4abc..632c291 100644 (file)
@@ -310,7 +310,7 @@ static void if_usb_disconnect(struct usb_interface *intf)
 static int if_usb_send_fw_pkt(struct if_usb_card *cardp)
 {
        struct fwdata *fwdata = cardp->ep_out_buf;
-       uint8_t *firmware = cardp->fw->data;
+       const uint8_t *firmware = cardp->fw->data;
 
        /* If we got a CRC failure on the last block, back
           up and retry it */
@@ -768,7 +768,7 @@ static int if_usb_issue_boot_command(struct if_usb_card *cardp, int ivalue)
  *         len               image length
  *  @return     0 or -1
  */
-static int check_fwfile_format(uint8_t *data, uint32_t totlen)
+static int check_fwfile_format(const uint8_t *data, uint32_t totlen)
 {
        uint32_t bincmd, exit;
        uint32_t blksize, offset, len;