diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 22:12:30 (GMT) |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-28 23:19:50 (GMT) |
commit | 3f7f7a5f3fba43d3fbfef4d8406252104d1c684f (patch) | |
tree | ea7d167b89d8a2ae0c280107f1ed4aa71f173094 /drivers/mtd/nand/fsl_ifc_nand.c | |
parent | 030a70b9af4ad6bb1fd715205efc44c576a9a0c4 (diff) | |
download | linux-3f7f7a5f3fba43d3fbfef4d8406252104d1c684f.tar.xz |
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 <luisbg@osg.samsung.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/fsl_ifc_nand.c')
-rw-r--r-- | drivers/mtd/nand/fsl_ifc_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index a4e27e8..429142e 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 = { |