summaryrefslogtreecommitdiff
path: root/drivers/macintosh/rack-meter.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-10-20 16:13:53 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-11-26 22:11:18 +1100
commit6735b2e985b78e0ecb05e8818c22f46b904f3599 (patch)
tree6a53ff11f1651c4db38c2b2734e583c3873d3428 /drivers/macintosh/rack-meter.c
parent343c3327c12b13655192983007de94bd44fd7941 (diff)
downloadlwn-6735b2e985b78e0ecb05e8818c22f46b904f3599.tar.gz
lwn-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/rack-meter.c')
-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 = {