* [PATCH] driver core: export subsys_virtual_register
@ 2013-05-10 16:14 Greg KH
0 siblings, 0 replies; only message in thread
From: Greg KH @ 2013-05-10 16:14 UTC (permalink / raw)
To: Greg KH; +Cc: Daniel Mack, Kay Sievers, Tejun Heo, linux-kernel
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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>
---
drivers/base/bus.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/base/bus.c
+++ b/drivers/base/bus.c
@@ -1295,6 +1295,7 @@ int subsys_virtual_register(struct bus_t
return subsys_register(subsys, groups, virtual_dir);
}
+EXPORT_SYMBOL_GPL(subsys_virtual_register);
int __init buses_init(void)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-05-10 16:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-10 16:14 [PATCH] driver core: export subsys_virtual_register Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox