aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_usb.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 05:39:39 -0400
commit49997d75152b3d23c53b0fa730599f2f74c92c65 (patch)
tree46e93126170d02cfec9505172e545732c1b69656 /drivers/net/wireless/libertas/if_usb.c
parenta0c80b80e0fb48129e4e9d6a9ede914f9ff1850d (diff)
parent5b664cb235e97afbf34db9c4d77f08ebd725335e (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: Documentation/powerpc/booting-without-of.txt drivers/atm/Makefile drivers/net/fs_enet/fs_enet-main.c drivers/pci/pci-acpi.c net/8021q/vlan.c net/iucv/iucv.c
Diffstat (limited to 'drivers/net/wireless/libertas/if_usb.c')
-rw-r--r--drivers/net/wireless/libertas/if_usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index a8b4abce5bfa..632c291404ab 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -310,7 +310,7 @@ static void if_usb_disconnect(struct usb_interface *intf)
310static int if_usb_send_fw_pkt(struct if_usb_card *cardp) 310static int if_usb_send_fw_pkt(struct if_usb_card *cardp)
311{ 311{
312 struct fwdata *fwdata = cardp->ep_out_buf; 312 struct fwdata *fwdata = cardp->ep_out_buf;
313 uint8_t *firmware = cardp->fw->data; 313 const uint8_t *firmware = cardp->fw->data;
314 314
315 /* If we got a CRC failure on the last block, back 315 /* If we got a CRC failure on the last block, back
316 up and retry it */ 316 up and retry it */
@@ -768,7 +768,7 @@ static int if_usb_issue_boot_command(struct if_usb_card *cardp, int ivalue)
768 * len image length 768 * len image length
769 * @return 0 or -1 769 * @return 0 or -1
770 */ 770 */
771static int check_fwfile_format(uint8_t *data, uint32_t totlen) 771static int check_fwfile_format(const uint8_t *data, uint32_t totlen)
772{ 772{
773 uint32_t bincmd, exit; 773 uint32_t bincmd, exit;
774 uint32_t blksize, offset, len; 774 uint32_t blksize, offset, len;