Commit 71ab1d58c26eb7c30711caa95c173d5c39ab8855

Authored by Niels de Vos
Committed by Tejun Heo
1 parent 867974fc09

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

drivers/ata/pata_imx.c
... ... @@ -237,6 +237,7 @@
237 237 /* sentinel */
238 238 }
239 239 };
  240 +MODULE_DEVICE_TABLE(of, imx_pata_dt_ids);
240 241  
241 242 static struct platform_driver pata_imx_driver = {
242 243 .probe = pata_imx_probe,