summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-10 09:14:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 09:05:52 -0700
commit1c04fc3536b9e6d143991a8c5c16b04866baeed6 (patch)
tree5ebae0ad469fc9720b8037c2fa33c0ac3cc7feed /drivers/base
parentf722406faae2d073cc1d01063d1123c35425939e (diff)
driver core: export subsys_virtual_register
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/bus.c b/drivers/base/bus.c
index 1a68f947ded8..d414331b480e 100644
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -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)
{