Hi, > --- linux.orig/drivers/acpi/bus.c > +++ linux/drivers/acpi/bus.c > @@ -182,6 +182,24 @@ EXPORT_SYMBOL(acpi_bus_get_private_data) > Power Management > -------------------------------------------------------------------------- */ > > +static char *state_string(int state) > +{ > + switch (state) { > + case ACPI_STATE_D0: > + return "D0"; > + case ACPI_STATE_D1: > + return "D1"; "const char", please? In general: nice work, thanks! Andreas Mohr -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html