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:
030a70b
)
mtd: fsl_ifc_nand: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<
[email protected]
>
Thu, 17 Sep 2015 22:12:30 +0000
(
00:12
+0200)
committer
Brian Norris
<
[email protected]
>
Mon, 28 Sep 2015 23:19:50 +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/fsl_ifc_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/fsl_ifc_nand.c
b/drivers/mtd/nand/fsl_ifc_nand.c
index a4e27e8911531e005046dab0af50977393cad899..429142e55c6c0cbab4c18d15e134317cd0d02a3e 100644
(file)
--- a/
drivers/mtd/nand/fsl_ifc_nand.c
+++ b/
drivers/mtd/nand/fsl_ifc_nand.c
@@
-1163,6
+1163,7
@@
static const struct of_device_id fsl_ifc_nand_match[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, fsl_ifc_nand_match);
static struct platform_driver fsl_ifc_nand_driver = {
.driver = {