ipmi: add of_device_id in MODULE_DEVICE_TABLE
authorBrijesh Singh <brijeshkumar.singh@amd.com>
Mon, 24 Aug 2015 14:15:25 +0000 (09:15 -0500)
committerCorey Minyard <cminyard@mvista.com>
Thu, 3 Sep 2015 20:02:31 +0000 (15:02 -0500)
Fix autoloading ipmi modules when using device tree.

Signed-off-by: Brijesh 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: Corey Minyard <cminyard@mvista.com>
drivers/char/ipmi/ipmi_si_intf.c

index 21bddc10e321a76346f7ff6ffe93fde3a80a89d1..654f6f36a071c1411e21373d3cb53e00efadd4f6 100644 (file)
@@ -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)
This page took 0.025275 seconds and 5 git commands to generate.