summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uvscom.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/uvscom.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/uvscom.c')
-rw-r--r--sys/dev/usb/uvscom.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c
index f791295526e..df06723244b 100644
--- a/sys/dev/usb/uvscom.c
+++ b/sys/dev/usb/uvscom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvscom.c,v 1.19 2007/10/11 18:33:15 deraadt Exp $ */
+/* $OpenBSD: uvscom.c,v 1.20 2009/10/13 19:33:19 pirofti Exp $ */
/* $NetBSD: uvscom.c,v 1.9 2003/02/12 15:36:20 ichiro Exp $ */
/*-
* Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>.
@@ -210,7 +210,7 @@ static const struct usb_devno uvscom_devs [] = {
int uvscom_match(struct device *, void *, void *);
void uvscom_attach(struct device *, struct device *, void *);
int uvscom_detach(struct device *, int);
-int uvscom_activate(struct device *, enum devact);
+int uvscom_activate(struct device *, int);
struct cfdriver uvscom_cd = {
NULL, "uvscom", DV_DULL
@@ -398,7 +398,7 @@ uvscom_detach(struct device *self, int flags)
}
int
-uvscom_activate(struct device *self, enum devact act)
+uvscom_activate(struct device *self, int act)
{
struct uvscom_softc *sc = (struct uvscom_softc *)self;
int rv = 0;