mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
[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:
parent
8d790d7408
commit
d48593bf20
3 changed files with 58 additions and 79 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue