Browse Source

staging: rtl8192e: Array was made static const char * const

This patch fixes checkpatch.pl error in file rtllib.h
WARNING: static const char * array should probably be static
const char * const

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Melike Yurtoglu 11 years ago
parent
commit
84780ecdf6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/rtl8192e/rtllib.h

+ 1 - 1
drivers/staging/rtl8192e/rtllib.h

@@ -1456,7 +1456,7 @@ enum eap_type {
 	EAPOL_ENCAP_ASF_ALERT
 };
 
-static const char *eap_types[] = {
+static const char * const eap_types[] = {
 	[EAP_PACKET]		= "EAP-Packet",
 	[EAPOL_START]		= "EAPOL-Start",
 	[EAPOL_LOGOFF]		= "EAPOL-Logoff",