summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/if_cs.c
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2008-05-23 18:37:51 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-07-10 14:25:57 +0100
commit6dfff895fa33b8576f82a38cee8abe5f73561e24 (patch)
treecd03327d3cda61e244193a2328a2d46542749ec9 /drivers/net/wireless/libertas/if_cs.c
parent6329d3021bcfa9038621e6e917d98929421d8ec8 (diff)
downloadop-kernel-dev-6dfff895fa33b8576f82a38cee8abe5f73561e24.zip
op-kernel-dev-6dfff895fa33b8576f82a38cee8abe5f73561e24.tar.gz
libertas: treat firmware data as const
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers/net/wireless/libertas/if_cs.c')
-rw-r--r--drivers/net/wireless/libertas/if_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c
index 54280e2..d075b44 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)
static inline void if_cs_write16_rep(
struct if_cs_card *card,
uint reg,
- void *buf,
+ const void *buf,
unsigned long count)
{
if (debug_output)
OpenPOWER on IntegriCloud