]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless: Use static const char * const where possible
[net-next-2.6.git] / drivers / net / wireless / rt2x00 / rt2x00debug.c
index b8cf45c4e9f53ccf3ec250700b25eed71901a991..c1710b27ba70c702fc789120c08ea06cac9ba15a 100644 (file)
@@ -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;