Commit 7446076e authored by Luis de Bethencourt's avatar Luis de Bethencourt Committed by Brian Norris

mtd: mpc5121_nfc: 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: default avatarLuis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 3f7f7a5f
...@@ -841,6 +841,7 @@ static const struct of_device_id mpc5121_nfc_match[] = { ...@@ -841,6 +841,7 @@ static const struct of_device_id mpc5121_nfc_match[] = {
{ .compatible = "fsl,mpc5121-nfc", }, { .compatible = "fsl,mpc5121-nfc", },
{}, {},
}; };
MODULE_DEVICE_TABLE(of, mpc5121_nfc_match);
static struct platform_driver mpc5121_nfc_driver = { static struct platform_driver mpc5121_nfc_driver = {
.probe = mpc5121_nfc_probe, .probe = mpc5121_nfc_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment