summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsmouse.c
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
commit6682179a1c327ebfd5a91e7dc39282434a805c2f (patch)
tree4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/dev/wscons/wsmouse.c
parent8120c6ba90a94a5745094b6f232932d0695cae1c (diff)
Get rid of devact enum, substitute it with an int and coresponding defines.
This is needed for the addition of further suspend/resume actions. Okay deraadt@, marco@.
Diffstat (limited to 'sys/dev/wscons/wsmouse.c')
-rw-r--r--sys/dev/wscons/wsmouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsmouse.c b/sys/dev/wscons/wsmouse.c
index bf3c483e71e..bb5e5e12b43 100644
--- a/sys/dev/wscons/wsmouse.c
+++ b/sys/dev/wscons/wsmouse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmouse.c,v 1.19 2007/04/10 22:37:17 miod Exp $ */
+/* $OpenBSD: wsmouse.c,v 1.20 2009/10/13 19:33:19 pirofti Exp $ */
/* $NetBSD: wsmouse.c,v 1.35 2005/02/27 00:27:52 perry Exp $ */
/*
@@ -143,7 +143,7 @@ struct wsmouse_softc {
int wsmouse_match(struct device *, void *, void *);
void wsmouse_attach(struct device *, struct device *, void *);
int wsmouse_detach(struct device *, int);
-int wsmouse_activate(struct device *, enum devact);
+int wsmouse_activate(struct device *, int);
int wsmouse_do_ioctl(struct wsmouse_softc *, u_long, caddr_t,
int, struct proc *);
@@ -224,7 +224,7 @@ wsmouse_attach(struct device *parent, struct device *self, void *aux)
}
int
-wsmouse_activate(struct device *self, enum devact act)
+wsmouse_activate(struct device *self, int act)
{
struct wsmouse_softc *sc = (struct wsmouse_softc *)self;