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

From: Grover, Andrew (andrew.grover@intel.com)
Date: Tue Nov 19 2002 - 15:15:43 EST


> 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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:29 EST