Skip to content

Commit

Permalink
pata_imx: expose module alias for loading from device-tree
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Niels de Vos authored and Tejun Heo committed Jul 29, 2013
1 parent 867974f commit 71ab1d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/pata_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71ab1d5

Please sign in to comment.