RE: [TRIVIAL PATCH 2.5.48] Remove compile warning from drivers/ac

Grover, Andrew (andrew.grover@intel.com)
Tue, 19 Nov 2002 12:15:43 -0800


> From: Bob Miller [mailto:rem@osdl.org]
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/