summaryrefslogtreecommitdiff
path: root/sys/dev/pckbc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 15:21:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-23 15:21:42 +0000
commit13c25d2bc55050edb8cc0f6716c1fff592a907e1 (patch)
tree0614fb37146fdfc772ba15862ef48bb2c47a0b89 /sys/dev/pckbc
parent4261325cd1c9de909ff50268d7d78246543574bc (diff)
better style is DVACT_SUSPEND before DVACT_RESUME
Diffstat (limited to 'sys/dev/pckbc')
-rw-r--r--sys/dev/pckbc/pckbd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pckbc/pckbd.c b/sys/dev/pckbc/pckbd.c
index 907a5f76262..f0f66206288 100644
--- a/sys/dev/pckbc/pckbd.c
+++ b/sys/dev/pckbc/pckbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pckbd.c,v 1.22 2009/11/23 01:33:08 pirofti Exp $ */
+/* $OpenBSD: pckbd.c,v 1.23 2009/11/23 15:21:41 deraadt Exp $ */
/* $NetBSD: pckbd.c,v 1.24 2000/06/05 22:20:57 sommerfeld Exp $ */
/*-
@@ -418,12 +418,12 @@ int
pckbd_activate(struct device *self, int act)
{
switch (act) {
- case DVACT_RESUME:
- pckbd_enable(self, 1);
- break;
case DVACT_SUSPEND:
pckbd_enable(self, 0);
break;
+ case DVACT_RESUME:
+ pckbd_enable(self, 1);
+ break;
}
return (0);
}