summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorBrijesh Singh <brijeshkumar.singh@amd.com>2015-08-24 16:15:25 +0200
committerCorey Minyard <cminyard@mvista.com>2015-09-03 22:02:31 +0200
commitacbd9ae70a94bdc626508f444879e19ebe1c421f (patch)
tree236c6c7a2e566ec1f61d7d4dcc067debabb8fb12 /drivers/char
parentipmi: Compensate for BMCs that wont set the irq enable bit (diff)
downloadlinux-acbd9ae70a94bdc626508f444879e19ebe1c421f.tar.xz
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.c1
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)