[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1375083518-14899-1-git-send-email-ndevos@redhat.com>
Date: Mon, 29 Jul 2013 09:38:38 +0200
From: Niels de Vos <ndevos@...hat.com>
To: devicetree@...r.kernel.org
Cc: linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
Niels de Vos <ndevos@...hat.com>,
Sascha Hauer <s.hauer@...gutronix.de>
Subject: [PATCH] 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@...hat.com>
Cc: Sascha Hauer <s.hauer@...gutronix.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists