summaryrefslogtreecommitdiff
path: root/drivers/char/pcmcia/ipwireless/hardware.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2008-07-28 16:53:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-28 08:28:03 -0700
commitff3e990e61a5a9124687a01a025c43b3564f82ab (patch)
tree416fe0b2c4a3f663efc7ecc3f518d3da710c04a9 /drivers/char/pcmcia/ipwireless/hardware.h
parent93110f698fe92fc4dfd86c78783aedf522c69eb9 (diff)
downloadlwn-ff3e990e61a5a9124687a01a025c43b3564f82ab.tar.gz
lwn-ff3e990e61a5a9124687a01a025c43b3564f82ab.zip
ipwireless: Constify buffer variables
ipwireless: Constify buffer variables Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/pcmcia/ipwireless/hardware.h')
-rw-r--r--drivers/char/pcmcia/ipwireless/hardware.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/ipwireless/hardware.h b/drivers/char/pcmcia/ipwireless/hardware.h
index e21d23a922ac..90a8590e43b0 100644
--- a/drivers/char/pcmcia/ipwireless/hardware.h
+++ b/drivers/char/pcmcia/ipwireless/hardware.h
@@ -41,7 +41,7 @@ int ipwireless_set_RTS(struct ipw_hardware *hw, unsigned int channel_idx,
int state);
int ipwireless_send_packet(struct ipw_hardware *hw,
unsigned int channel_idx,
- unsigned char *data,
+ const unsigned char *data,
unsigned int length,
void (*packet_sent_callback) (void *cb,
unsigned int length),