From: Luis de Bethencourt Date: Thu, 17 Sep 2015 22:12:30 +0000 (+0200) Subject: mtd: fsl_ifc_nand: Fix module autoload for OF platform driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3f7f7a5f3fba43d3fbfef4d8406252104d1c684f;p=linux-beck.git mtd: fsl_ifc_nand: Fix module autoload for OF platform driver 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 Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index a4e27e891153..429142e55c6c 100644 --- a/drivers/mtd/nand/fsl_ifc_nand.c +++ b/drivers/mtd/nand/fsl_ifc_nand.c @@ -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 = {