]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Driver core: add const to class_create
authorMiguel Ojeda Sandonis <maxextreme@gmail.com>
Wed, 13 Sep 2006 13:34:05 +0000 (15:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:36 +0000 (21:08 -0700)
commitab7d7371acc68fa9130b079a9ba879191202035f
tree9ebd5fbcdb8f1ddffc022f573acc0690c11a8c83
parent5cbe5f8a5897470698222ac9924429056e57d84c
Driver core: add const to class_create

Adds const to class_create second parameter, because:

struct class {
const char * name;

/*...*/
}

Signed-off-by: Miguel Ojeda Sandonis <maxextreme@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
include/linux/device.h