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:
parent
baa8a6c008
commit
d6ae4a9995
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue