summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 19:20:25 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-06 19:20:25 +0000
commita41bd31e53cce764c5bc6861ce6be4074cc59551 (patch)
treed2b49bbaa20136a25a6c83a1ef0b3aea3afe9a79 /sys/arch
parent23c1d9562f6c247aef66cf6a54e72e10f9042228 (diff)
All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/beagle/dev/ommmc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/beagle/dev/ommmc.c b/sys/arch/beagle/dev/ommmc.c
index 311a184cb05..b4f9bfcf8e0 100644
--- a/sys/arch/beagle/dev/ommmc.c
+++ b/sys/arch/beagle/dev/ommmc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ommmc.c,v 1.7 2010/08/27 05:04:08 deraadt Exp $ */
+/* $OpenBSD: ommmc.c,v 1.8 2010/09/06 19:20:19 deraadt Exp $ */
/*
* Copyright (c) 2009 Dale Rahn <drahn@openbsd.org>
@@ -516,7 +516,7 @@ ommmc_power(int why, void *arg)
#endif
switch(why) {
- case PWR_SUSPEND:
+ case DVACT_SUSPEND:
/* XXX poll for command completion or suspend command
* in progress */
@@ -527,7 +527,7 @@ ommmc_power(int why, void *arg)
#endif
break;
- case PWR_RESUME:
+ case DVACT_RESUME:
/* Restore the host controller state. */
#if 0
(void)ommmc_host_reset(sc);