mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
Cc: Andrew Lunn <[email protected]>
Fixes: a399546049 ("net: phy: Relax error checking on sysfs_create_link()")
Signed-off-by: Grygorii Strashko <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
a069215cf5
commit
2399ac42e7
1 changed files with 1 additions and 0 deletions
|
|
@ -106,6 +106,7 @@ int sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target,
|
|||
{
|
||||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue