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/udsbr.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/udsbr.c')
-rw-r--r-- | sys/dev/usb/udsbr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/udsbr.c b/sys/dev/usb/udsbr.c index 00f17099cf4..35f2a432467 100644 --- a/sys/dev/usb/udsbr.c +++ b/sys/dev/usb/udsbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udsbr.c,v 1.20 2008/06/26 05:42:18 ray Exp $ */ +/* $OpenBSD: udsbr.c,v 1.21 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: udsbr.c,v 1.7 2002/07/11 21:14:27 augustss Exp $ */ /* @@ -96,7 +96,7 @@ int udsbr_status(struct udsbr_softc *sc); int udsbr_match(struct device *, void *, void *); void udsbr_attach(struct device *, struct device *, void *); int udsbr_detach(struct device *, int); -int udsbr_activate(struct device *, enum devact); +int udsbr_activate(struct device *, int); struct cfdriver udsbr_cd = { NULL, "udsbr", DV_DULL @@ -169,7 +169,7 @@ udsbr_detach(struct device *self, int flags) } int -udsbr_activate(struct device *self, enum devact act) +udsbr_activate(struct device *self, int act) { struct udsbr_softc *sc = (struct udsbr_softc *)self; int rv = 0; |