aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-07-14 18:49:04 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-14 18:51:11 -0400
commit751851af7aae9b8bd5a60b3897209081fbc18b2b (patch)
tree5cb8dbb71d691a760da61e319796800ee42cc1c5 /drivers/net/wireless/libertas
parenta41eebab7537890409ea9dfe0fcda9b5fbdb090d (diff)
parentd71792ac3d48df6693f7b339e02494efc27036c3 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Conflicts: sound/pci/Kconfig
Diffstat (limited to 'drivers/net/wireless/libertas')
-rw-r--r--drivers/net/wireless/libertas/if_cs.c2
-rw-r--r--drivers/net/wireless/libertas/if_sdio.c4
-rw-r--r--drivers/net/wireless/libertas/if_usb.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c
index 54280e292ea5..d075b448da94 100644
--- a/drivers/net/wireless/libertas/if_cs.c
+++ b/drivers/net/wireless/libertas/if_cs.c
@@ -122,7 +122,7 @@ static inline void if_cs_write16(struct if_cs_card *card, uint reg, u16 val)
122static inline void if_cs_write16_rep( 122static inline void if_cs_write16_rep(
123 struct if_cs_card *card, 123 struct if_cs_card *card,
124 uint reg, 124 uint reg,
125 void *buf, 125 const void *buf,
126 unsigned long count) 126 unsigned long count)
127{ 127{
128 if (debug_output) 128 if (debug_output)
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c
index 51f664bbee9d..3dd537be87d8 100644
--- a/drivers/net/wireless/libertas/if_sdio.c
+++ b/drivers/net/wireless/libertas/if_sdio.c
@@ -392,7 +392,7 @@ static int if_sdio_prog_helper(struct if_sdio_card *card)
392 unsigned long timeout; 392 unsigned long timeout;
393 u8 *chunk_buffer; 393 u8 *chunk_buffer;
394 u32 chunk_size; 394 u32 chunk_size;
395 u8 *firmware; 395 const u8 *firmware;
396 size_t size; 396 size_t size;
397 397
398 lbs_deb_enter(LBS_DEB_SDIO); 398 lbs_deb_enter(LBS_DEB_SDIO);
@@ -508,7 +508,7 @@ static int if_sdio_prog_real(struct if_sdio_card *card)
508 unsigned long timeout; 508 unsigned long timeout;
509 u8 *chunk_buffer; 509 u8 *chunk_buffer;
510 u32 chunk_size; 510 u32 chunk_size;
511 u8 *firmware; 511 const u8 *firmware;
512 size_t size, req_size; 512 size_t size, req_size;
513 513
514 lbs_deb_enter(LBS_DEB_SDIO); 514 lbs_deb_enter(LBS_DEB_SDIO);
diff --git a/drivers/net/wireless/libertas/if_usb.c b/drivers/net/wireless/libertas/if_usb.c
index 36288b29abf7..4dcd4092e0f0 100644
--- a/drivers/net/wireless/libertas/if_usb.c
+++ b/drivers/net/wireless/libertas/if_usb.c
@@ -293,7 +293,7 @@ static void if_usb_disconnect(struct usb_interface *intf)
293static int if_usb_send_fw_pkt(struct if_usb_card *cardp) 293static int if_usb_send_fw_pkt(struct if_usb_card *cardp)
294{ 294{
295 struct fwdata *fwdata = cardp->ep_out_buf; 295 struct fwdata *fwdata = cardp->ep_out_buf;
296 uint8_t *firmware = cardp->fw->data; 296 const uint8_t *firmware = cardp->fw->data;
297 297
298 /* If we got a CRC failure on the last block, back 298 /* If we got a CRC failure on the last block, back
299 up and retry it */ 299 up and retry it */
@@ -746,7 +746,7 @@ static int if_usb_issue_boot_command(struct if_usb_card *cardp, int ivalue)
746 * len image length 746 * len image length
747 * @return 0 or -1 747 * @return 0 or -1
748 */ 748 */
749static int check_fwfile_format(uint8_t *data, uint32_t totlen) 749static int check_fwfile_format(const uint8_t *data, uint32_t totlen)
750{ 750{
751 uint32_t bincmd, exit; 751 uint32_t bincmd, exit;
752 uint32_t blksize, offset, len; 752 uint32_t blksize, offset, len;