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 <shehabaldin.sherif@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sherif Shehab Aldin 2014-04-05 23:34:01 +02:00 committed by Greg Kroah-Hartman
parent baa8a6c008
commit d6ae4a9995

View 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",