Re: 2.6.12-rc4-mm2

Alexey Dobriyan
2005-05-16T11:14:00Z

On Monday 16 May 2005 14:50, Danny ter Haar wrote:
> Andrew Morton <akpm@osdl.org> wrote:
> >ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.12-rc4/2.6.12-rc4-mm2/
>
> include/acpi/achware.h:159: warning: `struct acpi_gpe_block_info' declared inside parameter list
> include/acpi/achware.h:159: warning: `struct acpi_gpe_xrupt_info' declared inside parameter list
> include/acpi/achware.h:159: warning: type defaults to `int' in declaration of `acpi_hw_enable_runtime_gpe_block'
> include/acpi/achware.h:159: warning: data definition has no type or storage class
> make[2]: *** [arch/x86_64/kernel/time.o] Error 1

Does this help?

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

--- linux-2.6.12-rc4-mm2/include/acpi/achware.h 2005-05-16 14:24:02.000000000 +0400
+++ linux-2.6.12-rc4-mm2-acpi/include/acpi/achware.h 2005-05-16 15:11:39.000000000 +0400
@@ -44,6 +44,14 @@
#ifndef __ACHWARE_H__
#define __ACHWARE_H__

+#include <linux/types.h>
+#include <acpi/actypes.h>
+
+struct acpi_bit_register_info;
+struct acpi_generic_address;
+struct acpi_gpe_event_info;
+struct acpi_gpe_xrupt_info;
+struct acpi_gpe_block_info;

/* PM Timer ticks per second (HZ) */