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-Tag: v4.14-rc1~4005^2~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4f8144559e172f792f7fa926e4f342fbdbaf6ee;p=platform%2Fkernel%2Flinux-rpi.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 7a399b4..c713b34 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,