summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chubb <peterc@gelato.unsw.edu.au>2005-05-31 14:39:30 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-31 14:54:18 -0700
commit97d3a00f77fa527886d53dd943017654ce142186 (patch)
tree13a403b53c22d4574fb0094a4cd96b18c0d92372
parentae92ef8a442421356950a0a8dfdc35e8e783000e (diff)
[PATCH] pcdp.c build fix
In file included from drivers/firmware/pcdp.c:18: drivers/firmware/pcdp.h:48: error: field `addr' has incomplete type drivers/firmware/pcdp.c: In function `setup_serial_console': drivers/firmware/pcdp.c:27: error: `ACPI_ADR_SPACE_SYSTEM_MEMORY' undeclared (first use in this function) Cc: <tony.luck@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/firmware/pcdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/pcdp.c b/drivers/firmware/pcdp.c
index 6d5df6c2efa2..df1b721154d2 100644
--- a/drivers/firmware/pcdp.c
+++ b/drivers/firmware/pcdp.c
@@ -11,6 +11,7 @@
* published by the Free Software Foundation.
*/
+#include <linux/config.h>
#include <linux/acpi.h>
#include <linux/console.h>
#include <linux/efi.h>