[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:
Dmitry Torokhov
2005-04-29 00:58:46 -05:00
committed by Greg Kroah-Hartman
parent 8d790d7408
commit d48593bf20
3 changed files with 58 additions and 79 deletions
+2 -2
View File
@@ -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;
};