mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 10:24:01 -04:00
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:
committed by
Greg Kroah-Hartman
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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user