mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02: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:
parent
7d1e90baf2
commit
766ae3eacd
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user