diff options
author | David Sterba <dsterba@suse.cz> | 2008-07-28 10:53:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-28 11:28:03 -0400 |
commit | ff3e990e61a5a9124687a01a025c43b3564f82ab (patch) | |
tree | 416fe0b2c4a3f663efc7ecc3f518d3da710c04a9 /drivers/char/pcmcia/ipwireless/tty.c | |
parent | 93110f698fe92fc4dfd86c78783aedf522c69eb9 (diff) |
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/tty.c')
-rw-r--r-- | drivers/char/pcmcia/ipwireless/tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcmcia/ipwireless/tty.c b/drivers/char/pcmcia/ipwireless/tty.c index 42f3815c5ce3..b1414507997c 100644 --- a/drivers/char/pcmcia/ipwireless/tty.c +++ b/drivers/char/pcmcia/ipwireless/tty.c | |||
@@ -259,7 +259,7 @@ static int ipw_write(struct tty_struct *linux_tty, | |||
259 | } | 259 | } |
260 | 260 | ||
261 | ret = ipwireless_send_packet(tty->hardware, IPW_CHANNEL_RAS, | 261 | ret = ipwireless_send_packet(tty->hardware, IPW_CHANNEL_RAS, |
262 | (unsigned char *) buf, count, | 262 | buf, count, |
263 | ipw_write_packet_sent_callback, tty); | 263 | ipw_write_packet_sent_callback, tty); |
264 | if (ret == -1) { | 264 | if (ret == -1) { |
265 | mutex_unlock(&tty->ipw_tty_mutex); | 265 | mutex_unlock(&tty->ipw_tty_mutex); |