Skip to content

Commit b4f8144

Browse files
luisbgmpe
authored andcommitted
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>
1 parent 6735b2e commit b4f8144

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/sysdev/axonram.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ static const struct of_device_id axon_ram_device_id[] = {
313313
},
314314
{}
315315
};
316+
MODULE_DEVICE_TABLE(of, axon_ram_device_id);
316317

317318
static struct platform_driver axon_ram_driver = {
318319
.probe = axon_ram_probe,

0 commit comments

Comments
 (0)