diff options
author | Brijesh Singh <brijeshkumar.singh@amd.com> | 2015-08-24 09:15:25 -0500 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2015-09-03 15:02:31 -0500 |
commit | acbd9ae70a94bdc626508f444879e19ebe1c421f (patch) | |
tree | 236c6c7a2e566ec1f61d7d4dcc067debabb8fb12 /drivers/char | |
parent | d08828973d96eb26e48fb7ca8fb8a8d49adbe53a (diff) | |
download | talos-op-linux-acbd9ae70a94bdc626508f444879e19ebe1c421f.tar.gz talos-op-linux-acbd9ae70a94bdc626508f444879e19ebe1c421f.zip |
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 21bddc10e321..654f6f36a071 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c @@ -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) |