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:
Michael Straube 2018-10-04 19:56:58 +02:00 committed by Greg Kroah-Hartman
parent e6d9855dd3
commit 98962eb6d6
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ enum SCAN_STATE {
struct mlme_handler { struct mlme_handler {
unsigned int num; unsigned int num;
char *str; const char *str;
unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame); unsigned int (*func)(struct adapter *adapt, struct recv_frame *frame);
}; };