Skip to content

Commit

Permalink
driver core: export subsys_virtual_register
Browse files Browse the repository at this point in the history
Modules want to call this function, so it needs to be exported.

Reported-by: Daniel Mack <zonque@gmail.com>
Cc: Kay Sievers <kay@vrfy.org>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed May 21, 2013
1 parent f722406 commit 1c04fc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/base/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,7 @@ int subsys_virtual_register(struct bus_type *subsys,

return subsys_register(subsys, groups, virtual_dir);
}
EXPORT_SYMBOL_GPL(subsys_virtual_register);

int __init buses_init(void)
{
Expand Down

0 comments on commit 1c04fc3

Please sign in to comment.