tree 7328a203f0af0088595f0f7f475605ba8c358db1 parent 31e5abe9a6dab1ed3a5c30352bdb001353146318 author Robert Schwebel <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:32 -0700 committer Greg KH <[EMAIL PROTECTED]> Tue, 19 Apr 2005 11:57:32 -0700
[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 <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> base/platform.c | 1 + 1 files changed, 1 insertion(+) Index: drivers/base/platform.c =================================================================== --- 941317d6f91fe2bd0cb605692230b65686ca13e0/drivers/base/platform.c (mode:100644 sha1:996cbb4d50878d1e687b992b4d30ee4690884244) +++ 7328a203f0af0088595f0f7f475605ba8c358db1/drivers/base/platform.c (mode:100644 sha1:cd6453905a9bcf4a05265387ce1e51c9cb3fdb57) @@ -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 bk-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html