From: Greg Kroah-Hartman Date: Fri, 10 May 2013 16:14:04 +0000 (-0700) Subject: driver core: export subsys_virtual_register X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c04fc3536b9e6d143991a8c5c16b04866baeed6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git driver core: export subsys_virtual_register Modules want to call this function, so it needs to be exported. Reported-by: Daniel Mack Cc: Kay Sievers Cc: Tejun Heo Signed-off-by: Greg Kroah-Hartman --- 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) {