public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 2.6.26-rc8] dma: fix platform driver hotplug/coldplug
@ 2008-07-02  7:22 David Brownell
  2008-07-07 14:46 ` Sosnowski, Maciej
  0 siblings, 1 reply; 2+ messages in thread
From: David Brownell @ 2008-07-02  7:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: lkml, kay.sievers, maciej.sosnowski, dan.j.williams

From: Kay Sievers <kay.sievers@vrfy.org>

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

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
 drivers/dma/iop-adma.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/dma/iop-adma.c	2008-07-01 23:58:22.000000000 -0700
+++ b/drivers/dma/iop-adma.c	2008-07-02 00:00:19.000000000 -0700
@@ -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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [patch 2.6.26-rc8] dma: fix platform driver hotplug/coldplug
  2008-07-02  7:22 [patch 2.6.26-rc8] dma: fix platform driver hotplug/coldplug David Brownell
@ 2008-07-07 14:46 ` Sosnowski, Maciej
  0 siblings, 0 replies; 2+ messages in thread
From: Sosnowski, Maciej @ 2008-07-07 14:46 UTC (permalink / raw)
  To: David Brownell, Andrew Morton; +Cc: lkml, kay.sievers, Williams, Dan J

David Brownell wrote:
> From: Kay Sievers <kay.sievers@vrfy.org>
> 
> Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform
> modalias is prefixed with "platform:". Add MODULE_ALIAS() to most
> of the hotpluggable platform drivers, to re-enable auto loading.
> 
> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---
>  drivers/dma/iop-adma.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> --- a/drivers/dma/iop-adma.c	2008-07-01 23:58:22.000000000 -0700
> +++ b/drivers/dma/iop-adma.c	2008-07-02 00:00:19.000000000 -0700
> @@ -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: Maciej Sosnowski <maciej.sosnowski@intel.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-07 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02  7:22 [patch 2.6.26-rc8] dma: fix platform driver hotplug/coldplug David Brownell
2008-07-07 14:46 ` Sosnowski, Maciej

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox