diff options
Diffstat (limited to 'lib/kobject.c')
-rw-r--r-- | lib/kobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index 94048826624c..dd0917dd9fa9 100644 --- a/lib/kobject.c +++ b/lib/kobject.c | |||
@@ -279,7 +279,7 @@ EXPORT_SYMBOL(kobject_set_name); | |||
279 | * @new_name: object's new name | 279 | * @new_name: object's new name |
280 | */ | 280 | */ |
281 | 281 | ||
282 | int kobject_rename(struct kobject * kobj, char *new_name) | 282 | int kobject_rename(struct kobject * kobj, const char *new_name) |
283 | { | 283 | { |
284 | int error = 0; | 284 | int error = 0; |
285 | 285 | ||