diff options
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index c51b02d9dfd0..adbec73b80a6 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -1484,6 +1484,9 @@ static int try_init_acpi(int intf_num, struct smi_info **new_info) | |||
1484 | char *io_type; | 1484 | char *io_type; |
1485 | u8 addr_space; | 1485 | u8 addr_space; |
1486 | 1486 | ||
1487 | if (acpi_disabled) | ||
1488 | return -ENODEV; | ||
1489 | |||
1487 | if (acpi_failure) | 1490 | if (acpi_failure) |
1488 | return -ENODEV; | 1491 | return -ENODEV; |
1489 | 1492 | ||