diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-10-13 19:33:20 +0000 |
commit | 6682179a1c327ebfd5a91e7dc39282434a805c2f (patch) | |
tree | 4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/dev/usb/ucycom.c | |
parent | 8120c6ba90a94a5745094b6f232932d0695cae1c (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/ucycom.c')
-rw-r--r-- | sys/dev/usb/ucycom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ucycom.c b/sys/dev/usb/ucycom.c index 4beed69481d..14bd22d50cd 100644 --- a/sys/dev/usb/ucycom.c +++ b/sys/dev/usb/ucycom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ucycom.c,v 1.14 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: ucycom.c,v 1.15 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: ucycom.c,v 1.3 2005/08/05 07:27:47 skrll Exp $ */ /* @@ -161,7 +161,7 @@ const struct usb_devno ucycom_devs[] = { int ucycom_match(struct device *, void *, void *); void ucycom_attach(struct device *, struct device *, void *); int ucycom_detach(struct device *, int); -int ucycom_activate(struct device *, enum devact); +int ucycom_activate(struct device *, int); struct cfdriver ucycom_cd = { NULL, "ucycom", DV_DULL @@ -594,7 +594,7 @@ ucycom_detach(struct device *self, int flags) } int -ucycom_activate(struct device *self, enum devact act) +ucycom_activate(struct device *self, int act) { struct ucycom_softc *sc = (struct ucycom_softc *)self; int rv = 0; |