Skip to content

Commit

Permalink
Merge tag 'for-linus-4.5-2' of git://git.code.sf.net/p/openipmi/linux…
Browse files Browse the repository at this point in the history
…-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
  • Loading branch information
torvalds committed Feb 3, 2016
2 parents 86270c8 + 58c9d61 commit d5bfb96
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/char/ipmi/ipmi_si_intf.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#include <linux/of_platform.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/acpi.h>

#ifdef CONFIG_PARISC
#include <asm/hardware.h> /* for register_parisc_driver() stuff */
Expand Down Expand Up @@ -2054,8 +2055,6 @@ static int hardcode_find_bmc(void)

#ifdef CONFIG_ACPI

#include <linux/acpi.h>

/*
* Once we get an ACPI failure, we don't try any more, because we go
* through the tables sequentially. Once we don't find a table, there
Expand Down

0 comments on commit d5bfb96

Please sign in to comment.