diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 18:14:02 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-09-28 19:19:34 -0400 |
commit | 98d1a5eea378a624e0b0795f63900189a693d938 (patch) | |
tree | 77b74c2ec4fa14d1d38b6fd129d5f8fcea31050d /drivers/mtd/nand/orion_nand.c | |
parent | 1bc81eeeba99ed20b570423c311826811e162e6d (diff) |
mtd: orion_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>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/orion_nand.c')
-rw-r--r-- | drivers/mtd/nand/orion_nand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/orion_nand.c b/drivers/mtd/nand/orion_nand.c index c3c6d305caa7..64785f4e6879 100644 --- a/drivers/mtd/nand/orion_nand.c +++ b/drivers/mtd/nand/orion_nand.c | |||
@@ -201,6 +201,7 @@ static const struct of_device_id orion_nand_of_match_table[] = { | |||
201 | { .compatible = "marvell,orion-nand", }, | 201 | { .compatible = "marvell,orion-nand", }, |
202 | {}, | 202 | {}, |
203 | }; | 203 | }; |
204 | MODULE_DEVICE_TABLE(of, orion_nand_of_match_table); | ||
204 | #endif | 205 | #endif |
205 | 206 | ||
206 | static struct platform_driver orion_nand_driver = { | 207 | static struct platform_driver orion_nand_driver = { |