diff options
author | Melike Yurtoglu <aysemelikeyurtoglu@gmail.com> | 2014-09-30 17:43:15 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-02 17:15:12 (GMT) |
commit | 84780ecdf6c46909c6a4f06635c953f8d8d635f7 (patch) | |
tree | 38c83596f4b6a67b4dfee265a3af564a3abae783 /drivers | |
parent | d1ffa894cd35c402d41c4a12d7eaaaf69d7bfb3e (diff) | |
download | linux-84780ecdf6c46909c6a4f06635c953f8d8d635f7.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192e/rtllib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index e91f130..7732af1 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", |