mirror of https://gitee.com/openkylin/linux.git
staging: rtl8188eu: make struct field of mlme_handler const
The strings in the uses of struct mlme_handler are constant. Change the type of field str from 'char *' to 'const char *'. Suggested-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
e6d9855dd3
commit
98962eb6d6
|
@ -232,7 +232,7 @@ enum SCAN_STATE {
|
|||
|
||||
struct mlme_handler {
|
||||
unsigned int num;
|
||||
char *str;
|
||||
const char *str;
|
||||
unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue