diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-18 00:11:59 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-28 16:19:49 -0700 |
commit | 030a70b9af4ad6bb1fd715205efc44c576a9a0c4 (patch) | |
tree | e4826c681b3c64be0af7de525272cf1965751d0d /drivers | |
parent | 98d1a5eea378a624e0b0795f63900189a693d938 (diff) | |
download | linux-030a70b9af4ad6bb1fd715205efc44c576a9a0c4.tar.gz linux-030a70b9af4ad6bb1fd715205efc44c576a9a0c4.tar.bz2 linux-030a70b9af4ad6bb1fd715205efc44c576a9a0c4.zip |
mtd: fsl_elbc_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')
-rw-r--r-- | drivers/mtd/nand/fsl_elbc_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/fsl_elbc_nand.c b/drivers/mtd/nand/fsl_elbc_nand.c index 04b22fd3732d..b812074b748d 100644 --- a/drivers/mtd/nand/fsl_elbc_nand.c +++ b/drivers/mtd/nand/fsl_elbc_nand.c @@ -946,6 +946,7 @@ static const struct of_device_id fsl_elbc_nand_match[] = { { .compatible = "fsl,elbc-fcm-nand", }, {} }; +MODULE_DEVICE_TABLE(of, fsl_elbc_nand_match); static struct platform_driver fsl_elbc_nand_driver = { .driver = { |