[PATCH] Make attributes names const char *
sysfs: make attributes and attribute_group's names const char * Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8d790d7408
commit
d48593bf20
@@ -16,13 +16,13 @@ struct kobject;
|
||||
struct module;
|
||||
|
||||
struct attribute {
|
||||
char * name;
|
||||
const char * name;
|
||||
struct module * owner;
|
||||
mode_t mode;
|
||||
};
|
||||
|
||||
struct attribute_group {
|
||||
char * name;
|
||||
const char * name;
|
||||
struct attribute ** attrs;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user