driver: staging: wlan-ng: Setting character pointers as const
authorSherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Sat, 5 Apr 2014 21:34:01 +0000 (23:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 21:53:29 +0000 (14:53 -0700)
changed declaration of ctlx_str to:
static const char * const ctlx_str[]

Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x_usb.c

index 01284ea01cf952fe68e73d0039ccfe3987aea855..74db234977a8b707b451d0446b452996147946b9 100644 (file)
@@ -272,7 +272,7 @@ static int hfa384x_isgood_pdrcode(u16 pdrcode);
 
 static inline const char *ctlxstr(CTLX_STATE s)
 {
-       static const char *ctlx_str[] = {
+       static const char * const ctlx_str[] = {
                "Initial state",
                "Complete",
                "Request failed",