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>
This commit is contained in:
committed by
Michael Ellerman
parent
343c3327c1
commit
6735b2e985
@@ -582,6 +582,7 @@ static struct of_device_id rackmeter_match[] = {
|
|||||||
{ .name = "i2s" },
|
{ .name = "i2s" },
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, rackmeter_match);
|
||||||
|
|
||||||
static struct macio_driver rackmeter_driver = {
|
static struct macio_driver rackmeter_driver = {
|
||||||
.driver = {
|
.driver = {
|
||||||
|
|||||||
Reference in New Issue
Block a user