summaryrefslogtreecommitdiff
path: root/sys/dev/usb/ums.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/usb/ums.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/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index c712d3e70e3..00b3b5fd06c 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ums.c,v 1.30 2009/07/26 13:10:41 miod Exp $ */
+/* $OpenBSD: ums.c,v 1.31 2009/10/13 19:33:19 pirofti Exp $ */
/* $NetBSD: ums.c,v 1.60 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -117,7 +117,7 @@ const struct wsmouse_accessops ums_accessops = {
int ums_match(struct device *, void *, void *);
void ums_attach(struct device *, struct device *, void *);
int ums_detach(struct device *, int);
-int ums_activate(struct device *, enum devact);
+int ums_activate(struct device *, int);
struct cfdriver ums_cd = {
NULL, "ums", DV_DULL
@@ -352,7 +352,7 @@ ums_attach(struct device *parent, struct device *self, void *aux)
}
int
-ums_activate(struct device *self, enum devact act)
+ums_activate(struct device *self, int act)
{
struct ums_softc *sc = (struct ums_softc *)self;
int rv = 0;