mtd: fsl_ifc_nand: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 17 Sep 2015 22:12:30 +0000 (00:12 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 28 Sep 2015 23:19:50 +0000 (16:19 -0700)
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_ifc_nand.c

index a4e27e8911531e005046dab0af50977393cad899..429142e55c6c0cbab4c18d15e134317cd0d02a3e 100644 (file)
@@ -1163,6 +1163,7 @@ static const struct of_device_id fsl_ifc_nand_match[] = {
        },
        {}
 };
+MODULE_DEVICE_TABLE(of, fsl_ifc_nand_match);
 
 static struct platform_driver fsl_ifc_nand_driver = {
        .driver = {