summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2560.c
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/dev/ic/rt2560.c
parent23c1d9562f6c247aef66cf6a54e72e10f9042228 (diff)
All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}
Diffstat (limited to 'sys/dev/ic/rt2560.c')
-rw-r--r--sys/dev/ic/rt2560.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c
index 730e02df478..c95dc0e22d1 100644
--- a/sys/dev/ic/rt2560.c
+++ b/sys/dev/ic/rt2560.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2560.c,v 1.55 2010/09/06 18:22:00 kettenis Exp $ */
+/* $OpenBSD: rt2560.c,v 1.56 2010/09/06 19:20:21 deraadt Exp $ */
/*-
* Copyright (c) 2005, 2006
@@ -2740,10 +2740,10 @@ rt2560_powerhook(int why, void *arg)
s = splnet();
switch (why) {
- case PWR_SUSPEND:
+ case DVACT_SUSPEND:
rt2560_suspend(sc);
break;
- case PWR_RESUME:
+ case DVACT_RESUME:
rt2560_resume(sc);
break;
}