提交 2399ac42 编写于 作者: G Grygorii Strashko 提交者: David S. Miller

sysfs: symlink: export sysfs_create_link_nowarn()

The sysfs_create_link_nowarn() is going to be used in phylib framework in
subsequent patch which can be built as module. Hence, export
sysfs_create_link_nowarn() to avoid build errors.

Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Andrew Lunn <andrew@lunn.ch>
Fixes: a3995460 ("net: phy: Relax error checking on sysfs_create_link()")
Signed-off-by: NGrygorii Strashko <grygorii.strashko@ti.com>
Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a069215c
...@@ -106,6 +106,7 @@ int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, ...@@ -106,6 +106,7 @@ int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target,
{ {
return sysfs_do_create_link(kobj, target, name, 0); return sysfs_do_create_link(kobj, target, name, 0);
} }
EXPORT_SYMBOL_GPL(sysfs_create_link_nowarn);
/** /**
* sysfs_delete_link - remove symlink in object's directory. * sysfs_delete_link - remove symlink in object's directory.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册