Commit d6ae4a99 authored by Sherif Shehab Aldin's avatar Sherif Shehab Aldin Committed by Greg Kroah-Hartman

driver: staging: wlan-ng: Setting character pointers as const

changed declaration of ctlx_str to:
static const char * const ctlx_str[]
Signed-off-by: default avatarSherif Shehab Aldin <shehabaldin.sherif@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent baa8a6c0
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment