From: Luis de Bethencourt Date: Tue, 20 Oct 2015 15:04:13 +0000 (+0100) Subject: powerpc/axonram: Fix module autoload for OF platform driver X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b4f8144559e172f792f7fa926e4f342fbdbaf6ee;p=linux-beck.git 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 Signed-off-by: Michael Ellerman --- 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,