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:
6735b2e
)
powerpc/axonram: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Tue, 20 Oct 2015 15:04:13 +0000
(16:04 +0100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 26 Nov 2015 11:11:18 +0000
(22:11 +1100)
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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/axonram.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/sysdev/axonram.c
b/arch/powerpc/sysdev/axonram.c
index 7a399b4d60a03a5a83d091113cfb257c45f92b39..c713b349d967946fe1b95e8ae9ff1ec18f7761bc 100644
(file)
--- a/
arch/powerpc/sysdev/axonram.c
+++ b/
arch/powerpc/sysdev/axonram.c
@@
-313,6
+313,7
@@
static const struct of_device_id axon_ram_device_id[] = {
},
{}
};
+MODULE_DEVICE_TABLE(of, axon_ram_device_id);
static struct platform_driver axon_ram_driver = {
.probe = axon_ram_probe,