aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2005-04-19 00:57:32 -0400
committerGreg KH <greg@press.kroah.org>2005-04-19 00:57:32 -0400
commit46ea0d6c26de431a39c744f7ad63b30bfc800c1e (patch)
tree7328a203f0af0088595f0f7f475605ba8c358db1
parent31e5abe9a6dab1ed3a5c30352bdb001353146318 (diff)
[PATCH] export platform_add_devices
platform_add_devices can be used from within modules, so it should be exported. This can for example happen if you have hotpluggable firmware in an FPGA on a system on chip processor; in our case the FPGA is probed for devices and the FPGA base code registers the devices it has found with the kernel. (akpm: I think this is reasonable from a licensing POV: it's unlikely that anyone would be interested in merging such specialised modules into mainline, and it's a GPL export). Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/base/platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index 996cbb4d5087..cd6453905a9b 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -341,6 +341,7 @@ EXPORT_SYMBOL_GPL(dma_get_required_mask);
341 341
342EXPORT_SYMBOL_GPL(platform_bus); 342EXPORT_SYMBOL_GPL(platform_bus);
343EXPORT_SYMBOL_GPL(platform_bus_type); 343EXPORT_SYMBOL_GPL(platform_bus_type);
344EXPORT_SYMBOL_GPL(platform_add_devices);
344EXPORT_SYMBOL_GPL(platform_device_register); 345EXPORT_SYMBOL_GPL(platform_device_register);
345EXPORT_SYMBOL_GPL(platform_device_register_simple); 346EXPORT_SYMBOL_GPL(platform_device_register_simple);
346EXPORT_SYMBOL_GPL(platform_device_unregister); 347EXPORT_SYMBOL_GPL(platform_device_unregister);