diff options
author | Stuart Hayes <stuart.w.hayes@gmail.com> | 2020-03-11 20:24:09 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-05-18 13:32:02 +0200 |
commit | 429b00f606659cbaee41da60be6a6f8965a4f6f8 (patch) | |
tree | de4aa2b85bba719abe9300e99daeacac72ba20b2 /drivers/char/ipmi | |
parent | ipmi:bt-bmc: Fix error handling and status check (diff) | |
download | linux-429b00f606659cbaee41da60be6a6f8965a4f6f8.tar.xz linux-429b00f606659cbaee41da60be6a6f8965a4f6f8.zip |
ipmi_si: Load acpi_ipmi when ACPI IPMI interface added
Try to load acpi_ipmi when an ACPI IPMI interface is added, so that the
ACPI IPMI OpRegion is accessible.
Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com>
Message-Id: <20200311192409.59923-1-stuart.w.hayes@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi')
-rw-r--r-- | drivers/char/ipmi/ipmi_si_platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_platform.c b/drivers/char/ipmi/ipmi_si_platform.c index 638c693e17ad..129b5713f187 100644 --- a/drivers/char/ipmi/ipmi_si_platform.c +++ b/drivers/char/ipmi/ipmi_si_platform.c @@ -393,6 +393,8 @@ static int acpi_ipmi_probe(struct platform_device *pdev) dev_info(io.dev, "%pR regsize %d spacing %d irq %d\n", res, io.regsize, io.regspacing, io.irq); + request_module("acpi_ipmi"); + return ipmi_si_add_smi(&io); err_free: |