Skip to content

Commit 6735b2e

Browse files
luisbgmpe
authored andcommitted
powerpc/rackmeter: 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 343c332 commit 6735b2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/macintosh/rack-meter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ static struct of_device_id rackmeter_match[] = {
582582
{ .name = "i2s" },
583583
{ }
584584
};
585+
MODULE_DEVICE_TABLE(of, rackmeter_match);
585586

586587
static struct macio_driver rackmeter_driver = {
587588
.driver = {

0 commit comments

Comments
 (0)