staging: rtl8188eu: make struct field of action_handler const

The strings in the use of struct action_handler are constant.
Change the type of field str from 'char *' to 'const char *'.

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:59 +02:00
committed by Greg Kroah-Hartman
parent 98962eb6d6
commit c1ff246a8d

View File

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