Эх сурвалжийг харах

Merge branch 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata

Pull libata fix from Tejun Heo:
 "Just the addition of MODULE_DEVICE_TABLE() for a platform driver"

* 'for-3.11-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
  pata_imx: expose module alias for loading from device-tree
Linus Torvalds 12 жил өмнө
parent
commit
e4ef108fcd

+ 1 - 0
drivers/ata/pata_imx.c

@@ -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,