diff options
| author | Patrick Mochel <mochel@osdl.org> | 2002-10-29 09:26:38 -0800 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2002-10-29 09:26:38 -0800 |
| commit | 0862416ecefa629a52f3ee0907206e9633ca45c3 (patch) | |
| tree | 7d5c779987a53212a7d5ce1354b208779d412487 /include | |
| parent | d2f8eca7b0d7ef4503e40f809fb8d12e9d1d5389 (diff) | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/sysfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
