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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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",