2002-11-19 20:09:43

by Andrew Grover

[permalink] [raw]
Subject: RE: [TRIVIAL PATCH 2.5.48] Remove compile warning from drivers/ac pi/bus.c

> From: Bob Miller [mailto:[email protected]]
> Add the include of linux/device.h to remove a compile time waring
> from drivers/acpi/bus.c
>
>
> diff -Nru a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> --- a/drivers/acpi/bus.c Tue Nov 19 10:31:17 2002
> +++ b/drivers/acpi/bus.c Tue Nov 19 10:31:17 2002
> @@ -29,6 +29,7 @@
> #include <linux/pm.h>
> #include <linux/device.h>
> #include <linux/proc_fs.h>
> +#include <linux/device.h>

Already fixed. Look 2 lines up. :)

As for all the other ACPI unused variable warnings, they go away when debug
output is turned off.

Regards -- Andy