diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-06 19:20:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-09-06 19:20:25 +0000 |
commit | a41bd31e53cce764c5bc6861ce6be4074cc59551 (patch) | |
tree | d2b49bbaa20136a25a6c83a1ef0b3aea3afe9a79 /sys/dev/ic/rt2661.c | |
parent | 23c1d9562f6c247aef66cf6a54e72e10f9042228 (diff) |
All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index fffb8a640a7..e7231b0281d 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.61 2010/09/06 18:22:02 kettenis Exp $ */ +/* $OpenBSD: rt2661.c,v 1.62 2010/09/06 19:20:21 deraadt Exp $ */ /*- * Copyright (c) 2006 @@ -2934,10 +2934,10 @@ rt2661_powerhook(int why, void *arg) s = splnet(); switch (why) { - case PWR_SUSPEND: + case DVACT_SUSPEND: rt2661_suspend(sc); break; - case PWR_RESUME: + case DVACT_RESUME: rt2661_resume(sc); break; } |