summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uchcom.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/uchcom.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/uchcom.c')
-rw-r--r--sys/dev/usb/uchcom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uchcom.c b/sys/dev/usb/uchcom.c
index 9ff5eb8320f..8cc4813e5e9 100644
--- a/sys/dev/usb/uchcom.c
+++ b/sys/dev/usb/uchcom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uchcom.c,v 1.8 2009/08/02 10:38:34 miod Exp $ */
+/* $OpenBSD: uchcom.c,v 1.9 2009/10/13 19:33:17 pirofti Exp $ */
/* $NetBSD: uchcom.c,v 1.1 2007/09/03 17:57:37 tshiozak Exp $ */
/*
@@ -207,7 +207,7 @@ int uchcom_setup_intr_pipe(struct uchcom_softc *);
int uchcom_match(struct device *, void *, void *);
void uchcom_attach(struct device *, struct device *, void *);
int uchcom_detach(struct device *, int);
-int uchcom_activate(struct device *, enum devact);
+int uchcom_activate(struct device *, int);
struct ucom_methods uchcom_methods = {
uchcom_get_status,
@@ -340,7 +340,7 @@ uchcom_detach(struct device *self, int flags)
}
int
-uchcom_activate(struct device *self, enum devact act)
+uchcom_activate(struct device *self, int act)
{
struct uchcom_softc *sc = (struct uchcom_softc *)self;
int rv = 0;