projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ffa89
)
staging: rtl8192e: Array was made static const char * const
author
Melike Yurtoglu
<
[email protected]
>
Tue, 30 Sep 2014 17:43:15 +0000
(20:43 +0300)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/rtl8192e/rtllib.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rtl8192e/rtllib.h
b/drivers/staging/rtl8192e/rtllib.h
index e91f1301a38c40babed1e770c22bc9342f7e02ca..7732af14796ff3be1ef9d9fc923be8e0679b2c5a 100644
(file)
--- 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",