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>
This commit is contained in:
parent
867974fc09
commit
71ab1d58c2
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue