+ mfd-fix-platform-driver-hotplug-coldplug.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     mfd: fix platform driver hotplug/coldplug
has been added to the -mm tree.  Its filename is
     mfd-fix-platform-driver-hotplug-coldplug.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mfd: fix platform driver hotplug/coldplug
From: Kay Sievers <kay.sievers@xxxxxxxx>

Since 43cc71eed1250755986da4c0f9898f9a635cb3bf (platform: prefix MODALIAS
with "platform:"), the platform modalias is prefixed with "platform:". 
Add MODULE_ALIAS() to the MFD platform drivers, to re-enable auto loading.

[dbrownell@xxxxxxxxxxxxxxxxxxxxx: one was missing]
Signed-off-by: Kay Sievers <kay.sievers@xxxxxxxx>
Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
Cc: <stable@xxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Cc: "Rafael J. Wysocki" <rjw@xxxxxxx>
Cc: Samuel Ortiz <samuel@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/mfd/htc-pasic3.c |    2 ++
 drivers/mfd/mcp-sa11x0.c |    2 ++
 drivers/mfd/sm501.c      |    2 ++
 3 files changed, 6 insertions(+)

diff -puN drivers/mfd/htc-pasic3.c~mfd-fix-platform-driver-hotplug-coldplug drivers/mfd/htc-pasic3.c
--- a/drivers/mfd/htc-pasic3.c~mfd-fix-platform-driver-hotplug-coldplug
+++ a/drivers/mfd/htc-pasic3.c
@@ -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",
diff -puN drivers/mfd/mcp-sa11x0.c~mfd-fix-platform-driver-hotplug-coldplug drivers/mfd/mcp-sa11x0.c
--- a/drivers/mfd/mcp-sa11x0.c~mfd-fix-platform-driver-hotplug-coldplug
+++ a/drivers/mfd/mcp-sa11x0.c
@@ -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,
diff -puN drivers/mfd/sm501.c~mfd-fix-platform-driver-hotplug-coldplug drivers/mfd/sm501.c
--- a/drivers/mfd/sm501.c~mfd-fix-platform-driver-hotplug-coldplug
+++ a/drivers/mfd/sm501.c
@@ -1699,6 +1699,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",
_

Patches currently in -mm which might be from kay.sievers@xxxxxxxx are

drivers-power-fix-platform-driver-hotplug-coldplug.patch
linux-next.patch
gpio-sysfs-interface-updated.patch
gpio-sysfs-interface-updated-update.patch
firmware-use-memory_read_from_buffer.patch
mfd-fix-platform-driver-hotplug-coldplug.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux