mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-14 06:35:12 +00:00
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>
This commit is contained in:
parent
49826937e7
commit
429b00f606
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
dev_info(io.dev, "%pR regsize %d spacing %d irq %d\n",
|
||||||
res, io.regsize, io.regspacing, io.irq);
|
res, io.regsize, io.regspacing, io.irq);
|
||||||
|
|
||||||
|
request_module("acpi_ipmi");
|
||||||
|
|
||||||
return ipmi_si_add_smi(&io);
|
return ipmi_si_add_smi(&io);
|
||||||
|
|
||||||
err_free:
|
err_free:
|
||||||
|
|
Loading…
Reference in a new issue