diff options
-rw-r--r-- | drivers/base/class.c | 2 | ||||
-rw-r--r-- | include/linux/device.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/class.c b/drivers/base/class.c index 75057aaab809..e078bc21d52e 100644 --- a/drivers/base/class.c +++ b/drivers/base/class.c | |||
@@ -197,7 +197,7 @@ static int class_device_create_uevent(struct class_device *class_dev, | |||
197 | * Note, the pointer created here is to be destroyed when finished by | 197 | * Note, the pointer created here is to be destroyed when finished by |
198 | * making a call to class_destroy(). | 198 | * making a call to class_destroy(). |
199 | */ | 199 | */ |
200 | struct class *class_create(struct module *owner, char *name) | 200 | struct class *class_create(struct module *owner, const char *name) |
201 | { | 201 | { |
202 | struct class *cls; | 202 | struct class *cls; |
203 | int retval; | 203 | int retval; |
diff --git a/include/linux/device.h b/include/linux/device.h index 8d92013f9ce1..8a648cd94fa9 100644 --- a/include/linux/device.h +++ b/include/linux/device.h | |||
@@ -271,7 +271,7 @@ struct class_interface { | |||
271 | extern int class_interface_register(struct class_interface *); | 271 | extern int class_interface_register(struct class_interface *); |
272 | extern void class_interface_unregister(struct class_interface *); | 272 | extern void class_interface_unregister(struct class_interface *); |
273 | 273 | ||
274 | extern struct class *class_create(struct module *owner, char *name); | 274 | extern struct class *class_create(struct module *owner, const char *name); |
275 | extern void class_destroy(struct class *cls); | 275 | extern void class_destroy(struct class *cls); |
276 | extern struct class_device *class_device_create(struct class *cls, | 276 | extern struct class_device *class_device_create(struct class *cls, |
277 | struct class_device *parent, | 277 | struct class_device *parent, |