From: Sherif Shehab Aldin Date: Sat, 5 Apr 2014 21:34:01 +0000 (+0200) Subject: driver: staging: wlan-ng: Setting character pointers as const X-Git-Tag: next-20140516~17^2~32 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6ae4a9995fa19ecde23f425a027f445074ba1ec;p=karo-tx-linux.git driver: staging: wlan-ng: Setting character pointers as const changed declaration of ctlx_str to: static const char * const ctlx_str[] Signed-off-by: Sherif Shehab Aldin Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index 01284ea01cf9..74db234977a8 100644 --- a/drivers/staging/wlan-ng/hfa384x_usb.c +++ b/drivers/staging/wlan-ng/hfa384x_usb.c @@ -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",