Re: possible bug in the acpi_bus.h file in kernel 2.4.25

From: Len Brown
Date: Mon Apr 12 2004 - 17:10:08 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/