aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_imx.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index adbb01d8362f..aa3d166e02eb 100644
--- a/drivers/ata/pata_imx.c
+++ b/drivers/ata/pata_imx.c
@@ -230,11 +230,20 @@ static const struct dev_pm_ops pata_imx_pm_ops = {
230}; 230};
231#endif 231#endif
232 232
233static const struct of_device_id imx_pata_dt_ids[] = {
234 {
235 .compatible = "fsl,imx27-pata",
236 }, {
237 /* sentinel */
238 }
239};
240
233static struct platform_driver pata_imx_driver = { 241static struct platform_driver pata_imx_driver = {
234 .probe = pata_imx_probe, 242 .probe = pata_imx_probe,
235 .remove = pata_imx_remove, 243 .remove = pata_imx_remove,
236 .driver = { 244 .driver = {
237 .name = DRV_NAME, 245 .name = DRV_NAME,
246 .of_match_table = imx_pata_dt_ids,
238 .owner = THIS_MODULE, 247 .owner = THIS_MODULE,
239#ifdef CONFIG_PM 248#ifdef CONFIG_PM
240 .pm = &pata_imx_pm_ops, 249 .pm = &pata_imx_pm_ops,