Skip to content

Commit

Permalink
[PATCH] Include <linux/config.h> before testing CONFIG_ACPI
Browse files Browse the repository at this point in the history
I'm not sure why this issue is suddenly showing, but without this
patchlet, the zx1 config won't compile anymore (e.g., to see the
compilation-error, look for "***" in [1]).

[1] http://www.gelato.unsw.edu.au/kerncomp/results//2005-06-06-17-00/zx1_defconfig-log.html

Signed-off-by: David Mosberger-Tang <davidm@hpl.hp.com>
Cc: "Brown, Len" <len.brown@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
David Mosberger authored and Linus Torvalds committed Jun 7, 2005
1 parent 74262de commit 3f5948f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/acpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#ifndef _LINUX_ACPI_H
#define _LINUX_ACPI_H

#include <linux/config.h>

#ifdef CONFIG_ACPI

#ifndef _LINUX
Expand Down

0 comments on commit 3f5948f

Please sign in to comment.