diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-10-20 16:04:13 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-11-26 22:11:18 +1100 |
commit | b4f8144559e172f792f7fa926e4f342fbdbaf6ee (patch) | |
tree | 61a10be594b155ac4030668d5e552b73b9b7d2fd | |
parent | 6735b2e985b78e0ecb05e8818c22f46b904f3599 (diff) |
powerpc/axonram: 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>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r-- | arch/powerpc/sysdev/axonram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/axonram.c b/arch/powerpc/sysdev/axonram.c index 7a399b4d60a0..c713b349d967 100644 --- 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, |