mirror of
https://github.com/torvalds/linux
synced 2024-10-24 04:06:04 +00:00
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>
This commit is contained in:
parent
99101d3d89
commit
030bda0d41
|
@ -380,7 +380,7 @@ static ssize_t rt2x00debug_read_crypto_stats(struct file *file,
|
||||||
loff_t *offset)
|
loff_t *offset)
|
||||||
{
|
{
|
||||||
struct rt2x00debug_intf *intf = file->private_data;
|
struct rt2x00debug_intf *intf = file->private_data;
|
||||||
char *name[] = { "WEP64", "WEP128", "TKIP", "AES" };
|
static const char * const name[] = { "WEP64", "WEP128", "TKIP", "AES" };
|
||||||
char *data;
|
char *data;
|
||||||
char *temp;
|
char *temp;
|
||||||
size_t size;
|
size_t size;
|
||||||
|
|
Loading…
Reference in a new issue