diff options
author | Martin Wilck <mwilck@suse.com> | 2016-11-25 10:55:36 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2016-12-12 14:26:29 -0600 |
commit | 070cbd1d42aa0e359c9957cd73c2a529dec62047 (patch) | |
tree | 557f3cfceb3d0953901e7bdd72ebdbaec779253b /drivers/char/ipmi/ipmi_msghandler.c | |
parent | a24b5dd5eda73b956da27031cefbe4374b6af2bc (diff) | |
download | talos-obmc-linux-070cbd1d42aa0e359c9957cd73c2a529dec62047.tar.gz talos-obmc-linux-070cbd1d42aa0e359c9957cd73c2a529dec62047.zip |
ipmi: create hardware-independent softdep for ipmi_devintf
When a computer has an IPMI system interface, the device interface
is most probably also desired. Autoloading of ipmi_devintf currently
works only if ipmi_si has allocated a platform device. That doesn't
happen if the SI interface was detected e.g. via ACPI. But ACPI
detection is preferred these days, see e.g. kernel.org bug 46741.
This patch introduces a softdep in place of the existing modalias
for ipmi_devintf.
Signed-off-by: Martin Wilck <mwilck@suse.com>
Suggested-by: Takashi Iwai <tiwai@suse.com>
I moved this to ipmi_msghandler.c, so it works for all IPMI
interfaces. Retested by Martin.
Tested-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r-- | drivers/char/ipmi/ipmi_msghandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index be982d10d305..92e53acf2cd2 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c @@ -4646,3 +4646,4 @@ MODULE_AUTHOR("Corey Minyard <minyard@mvista.com>"); MODULE_DESCRIPTION("Incoming and outgoing message routing for an IPMI" " interface."); MODULE_VERSION(IPMI_DRIVER_VERSION); +MODULE_SOFTDEP("post: ipmi_devintf"); |