mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 12:24:34 +08:00
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>
This commit is contained in:
parent
1bc81eeeba
commit
98d1a5eea3
@ -201,6 +201,7 @@ static const struct of_device_id orion_nand_of_match_table[] = {
|
||||
{ .compatible = "marvell,orion-nand", },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, orion_nand_of_match_table);
|
||||
#endif
|
||||
|
||||
static struct platform_driver orion_nand_driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user