Skip to contentSkip to conversation

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

PATCH Pavel Machek 1 participant 1 message Nov 3, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

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

drivers/acpi/sleep/main.c renamed from /drivers/acpi/sleep/main.c +1 -1
@@ -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,
Signature · 2 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!