mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04:00
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:
committed by
Greg Kroah-Hartman
parent
98962eb6d6
commit
c1ff246a8d
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user