Commit 1c04fc35 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

driver core: export subsys_virtual_register

Modules want to call this function, so it needs to be exported.
Reported-by: default avatarDaniel Mack <zonque@gmail.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f722406f
...@@ -1295,6 +1295,7 @@ int subsys_virtual_register(struct bus_type *subsys, ...@@ -1295,6 +1295,7 @@ int subsys_virtual_register(struct bus_type *subsys,
return subsys_register(subsys, groups, virtual_dir); return subsys_register(subsys, groups, virtual_dir);
} }
EXPORT_SYMBOL_GPL(subsys_virtual_register);
int __init buses_init(void) int __init buses_init(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment