summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_imx.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2013-07-29 09:38:38 +0200
committerTejun Heo <tj@kernel.org>2013-07-29 12:13:08 -0400
commit71ab1d58c26eb7c30711caa95c173d5c39ab8855 (patch)
tree70f47c569766e013b933a2f428cc4837c6eb8b83 /drivers/ata/pata_imx.c
parent867974fc09f93bdd7f98d46ac3733934486bbf4a (diff)
downloadblackbird-op-linux-71ab1d58c26eb7c30711caa95c173d5c39ab8855.tar.gz
blackbird-op-linux-71ab1d58c26eb7c30711caa95c173d5c39ab8855.zip
pata_imx: expose module alias for loading from device-tree
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> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_imx.c')
-rw-r--r--drivers/ata/pata_imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index 4ec7c04b3f82..26386f0b89a8 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,
OpenPOWER on IntegriCloud