From: Joe Perches <joe@perches.com>
Date: Mon, 13 Sep 2010 18:23:55 +0000 (+0000)
Subject: drivers/net/wireless: Use static const char * const where possible
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=030bda0d416babd0cf34e584086f815b1c9d417c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

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>
---

diff --git a/drivers/net/wireless/rt2x00/rt2x00debug.c b/drivers/net/wireless/rt2x00/rt2x00debug.c
index b8cf45c4e9f..c1710b27ba7 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,
 					     loff_t *offset)
 {
 	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 *temp;
 	size_t size;