mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 18:40:25 -04:00
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:
committed by
Greg Kroah-Hartman
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",
|
||||
|
||||
Reference in New Issue
Block a user