Skip to contentSkip to conversation

dma: fix platform driver hotplug/coldplug

PATCH In review David Brownell 2 participants 2 messages Jul 2, 2008 – Jul 7, 2008 dmaengine

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma: fix platform driver hotplug/coldplug

From: Kay Sievers <[email protected]>

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

---
 drivers/dma/iop-adma.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/dma/iop-adma.c +2 -0
@@ -1387,6 +1387,8 @@ static void iop_chan_start_null_xor(stru
 	spin_unlock_bh(&iop_chan->lock);
 }
 
+MODULE_ALIAS("platform:iop-adma");
+
 static struct platform_driver iop_adma_driver = {
 	.probe		= iop_adma_probe,
 	.remove		= iop_adma_remove,
Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · David Brownell

From: Kay Sievers <[email protected]>

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

---
 drivers/dma/iop-adma.c |    2 ++
 1 file changed, 2 insertions(+)

drivers/dma/iop-adma.c static void iop_chan_start_null_xor(stru · line 1394

Quoted 8 lines
drivers/dma/iop-adma.c +2 -0
@@ -1387,6 +1387,8 @@ static void iop_chan_start_null_xor(stru
 	spin_unlock_bh(&iop_chan->lock);
 }
 
+MODULE_ALIAS("platform:iop-adma");
+
 static struct platform_driver iop_adma_driver = {
 	.probe		= iop_adma_probe,
 	.remove		= iop_adma_remove,