summaryrefslogtreecommitdiff
path: root/sys/arch/beagle
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/beagle')
-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);