From 0862416ecefa629a52f3ee0907206e9633ca45c3 Mon Sep 17 00:00:00 2001 From: Patrick Mochel Date: Tue, 29 Oct 2002 09:26:38 -0800 Subject: sysfs: make symlinks easier. It's now int sysfs_create_link(struct kobject * kobj, struct kobject * target, char * name) So, the caller doesn't have to determine the path of the target nor the depth of the object we're creating the symlink for; it's all taken care of. --- include/linux/sysfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux') diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index fe82dff179ce..066a9ccc0fb4 100644 --- a/include/linux/sysfs.h +++ b/include/linux/sysfs.h @@ -41,7 +41,7 @@ extern void sysfs_remove_file(struct kobject *, struct attribute *); extern int -sysfs_create_link(struct kobject * kobj, char * name, char * target); +sysfs_create_link(struct kobject * kobj, struct kobject * target, char * name); extern void sysfs_remove_link(struct kobject *, char * name); -- cgit v1.2.3