* [PATCH] export platform_add_devices
@ 2005-03-18 16:50 Robert Schwebel
0 siblings, 0 replies; only message in thread
From: Robert Schwebel @ 2005-03-18 16:50 UTC (permalink / raw)
To: linux-kernel
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 <r.schwebel@pengutronix.de>
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-18 16:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18 16:50 [PATCH] export platform_add_devices Robert Schwebel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®