diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-03 13:04:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-02-03 13:04:58 -0500 |
commit | d5bfb96bdad3588961f49a6eff89a625fbaa12bf (patch) | |
tree | 80e88fe85ea55785e2a5a2bdc1f9813ab3994153 | |
parent | 86270c8d7b1e98cd0f1dc107446461c050149b67 (diff) | |
parent | 58c9d61f86e86ebe1e45ac7a0cd89a2c6299b034 (diff) |
Merge tag 'for-linus-4.5-2' of git://git.code.sf.net/p/openipmi/linux-ipmi
Pull IPMI fix from Corey Minyard:
"Fix a compile error on IPMI when ACPI is disabled"
* tag 'for-linus-4.5-2' of git://git.code.sf.net/p/openipmi/linux-ipmi:
ipmi: put acpi.h with the other headers
-rw-r--r-- | drivers/char/ipmi/ipmi_si_intf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 9fda22e3387e..7fddd8696211 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -68,6 +68,7 @@ | |||
68 | #include <linux/of_platform.h> | 68 | #include <linux/of_platform.h> |
69 | #include <linux/of_address.h> | 69 | #include <linux/of_address.h> |
70 | #include <linux/of_irq.h> | 70 | #include <linux/of_irq.h> |
71 | #include <linux/acpi.h> | ||
71 | 72 | ||
72 | #ifdef CONFIG_PARISC | 73 | #ifdef CONFIG_PARISC |
73 | #include <asm/hardware.h> /* for register_parisc_driver() stuff */ | 74 | #include <asm/hardware.h> /* for register_parisc_driver() stuff */ |
@@ -2054,8 +2055,6 @@ static int hardcode_find_bmc(void) | |||
2054 | 2055 | ||
2055 | #ifdef CONFIG_ACPI | 2056 | #ifdef CONFIG_ACPI |
2056 | 2057 | ||
2057 | #include <linux/acpi.h> | ||
2058 | |||
2059 | /* | 2058 | /* |
2060 | * Once we get an ACPI failure, we don't try any more, because we go | 2059 | * Once we get an ACPI failure, we don't try any more, because we go |
2061 | * through the tables sequentially. Once we don't find a table, there | 2060 | * through the tables sequentially. Once we don't find a table, there |