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. 

Signed-off-by: Robert Schwebel <[EMAIL PROTECTED]>

Robert

--- linux-2.6.11/drivers/base/platform.c        2005-03-02 08:37:48.000000000 
+0100
+++ linux-2.6.11-trunk/drivers/base/platform.c  2005-03-14 22:01:46.000000000 
+0100
@@ -341,6 +341,7 @@
 
 EXPORT_SYMBOL_GPL(platform_bus);
 EXPORT_SYMBOL_GPL(platform_bus_type);
+EXPORT_SYMBOL_GPL(platform_add_devices);
 EXPORT_SYMBOL_GPL(platform_device_register);
 EXPORT_SYMBOL_GPL(platform_device_register_simple);
 EXPORT_SYMBOL_GPL(platform_device_unregister);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to