From: Niels de Vos <ndevos@redhat.com>
To: devicetree@vger.kernel.org
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
Niels de Vos <ndevos@redhat.com>,
Sascha Hauer <s.hauer@pengutronix.de>
Subject: [PATCH] pata_imx: expose module alias for loading from device-tree
Date: Mon, 29 Jul 2013 09:38:38 +0200 [thread overview]
Message-ID: <1375083518-14899-1-git-send-email-ndevos@redhat.com> (raw)
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
next reply other threads:[~2013-07-29 7:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-29 7:38 Niels de Vos [this message]
2013-07-29 16:15 ` [PATCH] pata_imx: expose module alias for loading from device-tree Tejun Heo
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=1375083518-14899-1-git-send-email-ndevos@redhat.com \
--to=ndevos@redhat.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).