From: Melike Yurtoglu Date: Tue, 30 Sep 2014 17:43:15 +0000 (+0300) Subject: staging: rtl8192e: Array was made static const char * const X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=84780ecdf6c46909c6a4f06635c953f8d8d635f7;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index e91f1301a38c..7732af14796f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/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",