Reduce ammount of sparse warnings in acpi/sleep/main.c

From: Pavel Machek
Date: Wed Nov 03 2004 - 18:31:32 EST


Hi!

This gets me rid of four or so sparse warnings... and is right thing
to do, anyway. Please apply,
Pavel

--- linux.middle//drivers/acpi/sleep/main.c 2004-10-25 23:03:40.000000000 +0200
+++ linux/drivers/acpi/sleep/main.c 2004-11-04 00:18:36.000000000 +0100
@@ -156,7 +156,7 @@

int acpi_suspend(u32 acpi_state)
{
- u32 states[] = {
+ suspend_state_t states[] = {
[1] = PM_SUSPEND_STANDBY,
[3] = PM_SUSPEND_MEM,
[4] = PM_SUSPEND_DISK,

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
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/