diff options
author | Stuart Hayes <stuart.w.hayes@gmail.com> | 2020-03-11 22:24:09 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-05-18 14:32:02 +0300 |
commit | 429b00f606659cbaee41da60be6a6f8965a4f6f8 (patch) | |
tree | de4aa2b85bba719abe9300e99daeacac72ba20b2 /drivers/char/ipmi/ipmi_si_platform.c | |
parent | 49826937e7c7917140515aaf10c17bedcc4acaad (diff) | |
download | linux-429b00f606659cbaee41da60be6a6f8965a4f6f8.tar.xz |
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/ipmi_si_platform.c')
-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: |