diff options
author | Tony Camuso <tcamuso@redhat.com> | 2016-02-02 19:57:24 +0100 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2016-02-03 17:35:52 +0100 |
commit | 58c9d61f86e86ebe1e45ac7a0cd89a2c6299b034 (patch) | |
tree | eb7db746d5c16be4e6c059734d88c79e7d7d625c /net/ipv4/udp.c | |
parent | Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-58c9d61f86e86ebe1e45ac7a0cd89a2c6299b034.tar.xz linux-58c9d61f86e86ebe1e45ac7a0cd89a2c6299b034.zip |
ipmi: put acpi.h with the other headers
Enclosing '#include <linux/acpi.h>' within '#ifdef CONFIG_ACPI' is
unnecessary, since it has its own conditional compile for CONFIG_ACPI.
Commit 0fbcf4af7c83 ("ipmi: Convert the IPMI SI ACPI handling to a
platform device") exposed this as a problem for platforms that do not
support ACPI when it introduced a call to ACPI_PTR() macro outside of
the CONFIG_ACPI conditional compile. This would have been perfectly
acceptable if acpi.h were not conditionally excluded for the non-acpi
platform, because the conditional compile within acpi.h defines
ACPI_PTR() to return NULL when compiled for non acpi platforms.
Signed-off-by: Tony Camuso <tcamuso@redhat.com>
Fixed commit reference in header to conform to standard.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions