From: David Brownell <david-b@pacbell.net>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: lkml <linux-kernel@vger.kernel.org>,
kay.sievers@vrfy.org, philipp.zabel@gmail.com,
Russell King <rmk@arm.linux.org.uk>,
Ben Dooks <ben-linux@fluff.org>
Subject: [patch 2.6.26-rc8] mfd: fix platform driver hotplug/coldplug
Date: Wed, 2 Jul 2008 00:18:47 -0700 [thread overview]
Message-ID: <200807020018.47634.david-b@pacbell.net> (raw)
From: Kay Sievers <kay.sievers@vrfy.org>
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
modalias is prefixed with "platform:". Add MODULE_ALIAS() to
the MFD platform drivers, to re-enable auto loading.
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
[ dbrownell@users.sourceforge.net: one was missing ]
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
drivers/mfd/htc-pasic3.c | 2 ++
drivers/mfd/mcp-sa11x0.c | 2 ++
drivers/mfd/sm501.c | 2 ++
3 files changed, 6 insertions(+)
--- a/drivers/mfd/htc-pasic3.c 2008-07-02 00:15:20.000000000 -0700
+++ b/drivers/mfd/htc-pasic3.c 2008-07-02 00:15:31.000000000 -0700
@@ -238,6 +238,8 @@ static int pasic3_remove(struct platform
return 0;
}
+MODULE_ALIAS("platform:pasic3");
+
static struct platform_driver pasic3_driver = {
.driver = {
.name = "pasic3",
--- a/drivers/mfd/mcp-sa11x0.c 2008-07-02 00:10:11.000000000 -0700
+++ b/drivers/mfd/mcp-sa11x0.c 2008-07-02 00:13:41.000000000 -0700
@@ -242,6 +242,8 @@ static int mcp_sa11x0_resume(struct plat
/*
* The driver for the SA11x0 MCP port.
*/
+MODULE_ALIAS("platform:sa11x0-mcp");
+
static struct platform_driver mcp_sa11x0_driver = {
.probe = mcp_sa11x0_probe,
.remove = mcp_sa11x0_remove,
--- a/drivers/mfd/sm501.c 2008-07-02 00:10:11.000000000 -0700
+++ b/drivers/mfd/sm501.c 2008-07-02 00:13:41.000000000 -0700
@@ -1378,6 +1378,8 @@ static struct pci_driver sm501_pci_drv =
.remove = sm501_pci_remove,
};
+MODULE_ALIAS("platform:sm501");
+
static struct platform_driver sm501_plat_drv = {
.driver = {
.name = "sm501",
reply other threads:[~2008-07-02 7:23 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=200807020018.47634.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=akpm@linux-foundation.org \
--cc=ben-linux@fluff.org \
--cc=kay.sievers@vrfy.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philipp.zabel@gmail.com \
--cc=rmk@arm.linux.org.uk \
/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
Powered by JetHome