mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] export platform_add_devices
Date: Fri, 18 Mar 2005 17:50:44 +0100	[thread overview]
Message-ID: <20050318165044.GQ11709@pengutronix.de> (raw)

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);

                 reply	other threads:[~2005-03-18 16:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050318165044.GQ11709@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®