From e956d3ab2a9fd0387d41f5035e0902e06bcbc219 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 3 Jul 2003 03:43:34 -0700 Subject: [PATCH] kobject: add kobject_rename() Based on a patch written by Dan Aloni --- include/linux/kobject.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/linux/kobject.h') 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 *); -- cgit v1.2.3