diff options
author | Joe Perches <joe@perches.com> | 2010-09-13 14:23:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-14 23:22:04 -0400 |
commit | 030bda0d416babd0cf34e584086f815b1c9d417c (patch) | |
tree | a7ccb3d9701cabf88eeefbb7ea9c059a84d85532 /drivers | |
parent | 99101d3d8900dd3fc3cac44859ab8a380e1e553f (diff) |
drivers/net/wireless: Use static const char * const where possible
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c index b8cf45c4e9f5..c1710b27ba70 100644 --- a/drivers/net/wireless/rt2x00/rt2x00debug.c +++ b/drivers/net/wireless/rt2x00/rt2x00debug.c | |||
@@ -380,7 +380,7 @@ static ssize_t rt2x00debug_read_crypto_stats(struct file *file, | |||
380 | loff_t *offset) | 380 | loff_t *offset) |
381 | { | 381 | { |
382 | struct rt2x00debug_intf *intf = file->private_data; | 382 | struct rt2x00debug_intf *intf = file->private_data; |
383 | char *name[] = { "WEP64", "WEP128", "TKIP", "AES" }; | 383 | static const char * const name[] = { "WEP64", "WEP128", "TKIP", "AES" }; |
384 | char *data; | 384 | char *data; |
385 | char *temp; | 385 | char *temp; |
386 | size_t size; | 386 | size_t size; |