mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
sysfs: symlink: export sysfs_delete_link()
Used by extcon.
Fixes: 513c60a1ba ("extcon: Add named extcon link")
Change-Id: I5e0e5ab18ecd0e967797a3a8fb52c5f283468643
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -133,6 +133,7 @@ void sysfs_delete_link(struct kobject *kobj, struct kobject *targ,
|
||||
spin_unlock(&sysfs_symlink_target_lock);
|
||||
kernfs_remove_by_name_ns(kobj->sd, name, ns);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(sysfs_delete_link);
|
||||
|
||||
/**
|
||||
* sysfs_remove_link - remove symlink in object's directory.
|
||||
|
||||
Reference in New Issue
Block a user