staging: rtl8192e: Array was made static const char * const
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Tue, 30 Sep 2014 17:43:15 +0000 (20:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2014 17:15:12 +0000 (10:15 -0700)
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>
drivers/staging/rtl8192e/rtllib.h

index e91f130..7732af1 100644 (file)
@@ -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",