2004-04-05 08:52:08

by Support

[permalink] [raw]
Subject: possible bug in the acpi_bus.h file in kernel 2.4.25

in the acpi_bus.h file, there is a reference to device.h, however no such
file exists in the 2.4.25 source code and causes a compile error when
including acpi in the compile.

the line is as follows


#include <linux/device.h>



2004-04-12 22:09:18

by Brown, Len

[permalink] [raw]
Subject: Re: possible bug in the acpi_bus.h file in kernel 2.4.25

On Mon, 2004-04-05 at 04:52, Support wrote:
> in the acpi_bus.h file, there is a reference to device.h, however no
> such
> file exists in the 2.4.25 source code and causes a compile error when
> including acpi in the compile.
>
> the line is as follows
>
>
> #include <linux/device.h>

works for me.

Is your acpi_bus.h missing the following line immediately
before the include?

#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,4))

-Len