From: Robert Schwebel 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 Signed-off-by: Andrew Morton --- 25-akpm/drivers/base/platform.c | 1 + 1 files changed, 1 insertion(+) diff -puN drivers/base/platform.c~export-platform_add_devices drivers/base/platform.c --- 25/drivers/base/platform.c~export-platform_add_devices 2005-03-18 15:30:59.000000000 -0800 +++ 25-akpm/drivers/base/platform.c 2005-03-18 15:30:59.000000000 -0800 @@ -341,6 +341,7 @@ EXPORT_SYMBOL_GPL(dma_get_required_mask) 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); _