summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-10-20 17:13:53 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-26 12:11:18 +0100
commit6735b2e985b78e0ecb05e8818c22f46b904f3599 (patch)
tree6a53ff11f1651c4db38c2b2734e583c3873d3428 /drivers/macintosh
parentpowerpc: Add rN aliases to the pt_regs_offset table. (diff)
downloadlinux-6735b2e985b78e0ecb05e8818c22f46b904f3599.tar.xz
linux-6735b2e985b78e0ecb05e8818c22f46b904f3599.zip
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>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/rack-meter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/macintosh/rack-meter.c b/drivers/macintosh/rack-meter.c
index 048901a1111a..caaec654d7ea 100644
--- a/drivers/macintosh/rack-meter.c
+++ b/drivers/macintosh/rack-meter.c
@@ -582,6 +582,7 @@ static struct of_device_id rackmeter_match[] = {
{ .name = "i2s" },
{ }
};
+MODULE_DEVICE_TABLE(of, rackmeter_match);
static struct macio_driver rackmeter_driver = {
.driver = {