Skip to content

Commit 71ab1d5

Browse files
nixpanichtejun
authored andcommitted
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 <[email protected]> Cc: Sascha Hauer <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent 867974f commit 71ab1d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ata/pata_imx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ static const struct of_device_id imx_pata_dt_ids[] = {
237237
/* sentinel */
238238
}
239239
};
240+
MODULE_DEVICE_TABLE(of, imx_pata_dt_ids);
240241

241242
static struct platform_driver pata_imx_driver = {
242243
.probe = pata_imx_probe,

0 commit comments

Comments
 (0)