Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acbd9ae7 authored by Brijesh Singh's avatar Brijesh Singh Committed by Corey Minyard
Browse files

ipmi: add of_device_id in MODULE_DEVICE_TABLE



Fix autoloading ipmi modules when using device tree.

Signed-off-by: default avatarBrijesh Singh <brijeshkumar.singh@amd.com>

Moved this change up into the CONFIG_OF section to account
for changes to the probing code.

Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent d0882897
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2646,6 +2646,7 @@ static int of_ipmi_probe(struct platform_device *dev)
	}
	return 0;
}
MODULE_DEVICE_TABLE(of, of_ipmi_match);
#else
#define of_ipmi_match NULL
static int of_ipmi_probe(struct platform_device *dev)