public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.12-rc5-git3 ia64 acpi build breakage.
@ 2005-05-29  0:01 Dave Jones
  2005-05-29  8:18 ` Alexey Dobriyan
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2005-05-29  0:01 UTC (permalink / raw)
  To: linux-kernel

This is puzzling.
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)
drivers/firmware/pcdp.c:27: error: (Each undeclared identifier is reported only once
drivers/firmware/pcdp.c:27: error: for each function it appears in.)

First, I thought this was a simple missing
#include <acpi/actypes.h>

in drivers/firmware/pcdp.c

But it still spat out the same warning.

		Dave


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.12-rc5-git3 ia64 acpi build breakage.
  2005-05-29  0:01 2.6.12-rc5-git3 ia64 acpi build breakage Dave Jones
@ 2005-05-29  8:18 ` Alexey Dobriyan
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Dobriyan @ 2005-05-29  8:18 UTC (permalink / raw)
  To: Dave Jones; +Cc: linux-kernel

On Sunday 29 May 2005 04:01, Dave Jones wrote:
> 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)

This _should_ fix it.

--- linux-vanilla/include/linux/acpi.h	2005-05-28 02:59:59.000000000 +0400
+++ linux-8250/include/linux/acpi.h	2005-05-28 03:39:25.000000000 +0400
@@ -25,6 +25,8 @@
 #ifndef _LINUX_ACPI_H
 #define _LINUX_ACPI_H
 
+#include <linux/config.h>
+
 #ifdef	CONFIG_ACPI
 
 #ifndef _LINUX

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-29  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-29  0:01 2.6.12-rc5-git3 ia64 acpi build breakage Dave Jones
2005-05-29  8:18 ` Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox