projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f7f7a5
)
mtd: mpc5121_nfc: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<
[email protected]
>
Thu, 17 Sep 2015 22:13:01 +0000
(
00:13
+0200)
committer
Brian Norris
<
[email protected]
>
Mon, 28 Sep 2015 23:19:51 +0000
(16:19 -0700)
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 <
[email protected]
>
Signed-off-by: Brian Norris <
[email protected]
>
drivers/mtd/nand/mpc5121_nfc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/mpc5121_nfc.c
b/drivers/mtd/nand/mpc5121_nfc.c
index 2a49b53c8db96b03a3b56a7cd039502ebfee0c9d..019fe0dc620320bd42fa3c5e54c235c1e70619fa 100644
(file)
--- a/
drivers/mtd/nand/mpc5121_nfc.c
+++ b/
drivers/mtd/nand/mpc5121_nfc.c
@@
-841,6
+841,7
@@
static const struct of_device_id mpc5121_nfc_match[] = {
{ .compatible = "fsl,mpc5121-nfc", },
{},
};
+MODULE_DEVICE_TABLE(of, mpc5121_nfc_match);
static struct platform_driver mpc5121_nfc_driver = {
.probe = mpc5121_nfc_probe,