ipmi: add of_device_id in MODULE_DEVICE_TABLE
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>
This commit is contained in:
parent
d08828973d
commit
acbd9ae70a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user