devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pata_imx: expose module alias for loading from device-tree
@ 2013-07-29  7:38 Niels de Vos
  2013-07-29 16:15 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Niels de Vos @ 2013-07-29  7:38 UTC (permalink / raw)
  To: devicetree; +Cc: linux-ide, linux-kernel, Niels de Vos, Sascha Hauer

Enable auto loading by udev when pata_imx is compiled as a module.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/ata/pata_imx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index 4ec7c04..26386f0 100644
--- a/drivers/ata/pata_imx.c
+++ b/drivers/ata/pata_imx.c
@@ -237,6 +237,7 @@ static const struct of_device_id imx_pata_dt_ids[] = {
 		/* sentinel */
 	}
 };
+MODULE_DEVICE_TABLE(of, imx_pata_dt_ids);
 
 static struct platform_driver pata_imx_driver = {
 	.probe		= pata_imx_probe,
-- 
1.7.11.7


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

* Re: [PATCH] pata_imx: expose module alias for loading from device-tree
  2013-07-29  7:38 [PATCH] pata_imx: expose module alias for loading from device-tree Niels de Vos
@ 2013-07-29 16:15 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2013-07-29 16:15 UTC (permalink / raw)
  To: Niels de Vos; +Cc: devicetree, linux-ide, linux-kernel, Sascha Hauer

On Mon, Jul 29, 2013 at 09:38:38AM +0200, Niels de Vos wrote:
> Enable auto loading by udev when pata_imx is compiled as a module.
> 
> Signed-off-by: Niels de Vos <ndevos@redhat.com>
> Cc: Sascha Hauer <s.hauer@pengutronix.de>

Applied to libata/for-3.11-fixes.

Thanks.

-- 
tejun

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

end of thread, other threads:[~2013-07-29 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-29  7:38 [PATCH] pata_imx: expose module alias for loading from device-tree Niels de Vos
2013-07-29 16:15 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).