Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Joe Perches and committed by
David S. Miller
030bda0d 99101d3d

+1 -1
+1 -1
drivers/net/wireless/rt2x00/rt2x00debug.c
··· 380 380 loff_t *offset) 381 381 { 382 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 384 char *data; 385 385 char *temp; 386 386 size_t size;