The patch titled drivers: add const to class_create has been removed from the -mm tree. Its filename is drivers-add-const-to-class_create.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: drivers: add const to class_create From: Miguel Ojeda Sandonis <maxextreme@xxxxxxxxx> Adds const to class_create second parameter, because: struct class { const char * name; /*...*/ } Signed-off-by: Miguel Ojeda Sandonis <maxextreme@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/base/class.c | 2 +- include/linux/device.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/base/class.c~drivers-add-const-to-class_create drivers/base/class.c --- a/drivers/base/class.c~drivers-add-const-to-class_create +++ a/drivers/base/class.c @@ -200,7 +200,7 @@ static int class_device_create_uevent(st * Note, the pointer created here is to be destroyed when finished by * making a call to class_destroy(). */ -struct class *class_create(struct module *owner, char *name) +struct class *class_create(struct module *owner, const char *name) { struct class *cls; int retval; diff -puN include/linux/device.h~drivers-add-const-to-class_create include/linux/device.h --- a/include/linux/device.h~drivers-add-const-to-class_create +++ a/include/linux/device.h @@ -287,7 +287,7 @@ struct class_interface { extern int __must_check class_interface_register(struct class_interface *); extern void class_interface_unregister(struct class_interface *); -extern struct class *class_create(struct module *owner, char *name); +extern struct class *class_create(struct module *owner, const char *name); extern void class_destroy(struct class *cls); extern struct class_device *class_device_create(struct class *cls, struct class_device *parent, _ Patches currently in -mm which might be from maxextreme@xxxxxxxxx are drivers-add-const-to-class_create.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html