Skip to content

Commit 030bda0

Browse files
JoePerchesdavem330
authored andcommitted
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>
1 parent 99101d3 commit 030bda0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/rt2x00/rt2x00debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ static ssize_t rt2x00debug_read_crypto_stats(struct file *file,
380380
loff_t *offset)
381381
{
382382
struct rt2x00debug_intf *intf = file->private_data;
383-
char *name[] = { "WEP64", "WEP128", "TKIP", "AES" };
383+
static const char * const name[] = { "WEP64", "WEP128", "TKIP", "AES" };
384384
char *data;
385385
char *temp;
386386
size_t size;

0 commit comments

Comments
 (0)