summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-07-03 03:43:34 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2003-07-03 03:43:34 -0700
commite956d3ab2a9fd0387d41f5035e0902e06bcbc219 (patch)
tree91d4f7add711204af05ef470da10388da713ca9c /include/linux/kobject.h
parentf91c01ac74c4970d1d31324d6e80d78aaceae2b8 (diff)
[PATCH] kobject: add kobject_rename()
Based on a patch written by Dan Aloni <da-x@gmx.net>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 5d42248dd95f..e744a55d07d5 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -39,6 +39,8 @@ extern void kobject_cleanup(struct kobject *);
extern int kobject_add(struct kobject *);
extern void kobject_del(struct kobject *);
+extern void kobject_rename(struct kobject *, char *new_name);
+
extern int kobject_register(struct kobject *);
extern void kobject_unregister(struct kobject *);