提交 71ab1d58 编写于 作者: N Niels de Vos 提交者: Tejun Heo

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: NNiels de Vos <ndevos@redhat.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 867974fc
...@@ -237,6 +237,7 @@ static const struct of_device_id imx_pata_dt_ids[] = { ...@@ -237,6 +237,7 @@ static const struct of_device_id imx_pata_dt_ids[] = {
/* sentinel */ /* sentinel */
} }
}; };
MODULE_DEVICE_TABLE(of, imx_pata_dt_ids);
static struct platform_driver pata_imx_driver = { static struct platform_driver pata_imx_driver = {
.probe = pata_imx_probe, .probe = pata_imx_probe,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册