From 84780ecdf6c46909c6a4f06635c953f8d8d635f7 Mon Sep 17 00:00:00 2001 From: Melike Yurtoglu Date: Tue, 30 Sep 2014 20:43:15 +0300 Subject: [PATCH] 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 --- drivers/staging/rtl8192e/rtllib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.20.1