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/ubt.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/ubt.c')
-rw-r--r-- | sys/dev/usb/ubt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/ubt.c b/sys/dev/usb/ubt.c index 3d6f68141ce..d33bcf59b9f 100644 --- a/sys/dev/usb/ubt.c +++ b/sys/dev/usb/ubt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubt.c,v 1.14 2008/11/22 04:42:58 uwe Exp $ */ +/* $OpenBSD: ubt.c,v 1.15 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: ubt.c,v 1.35 2008/07/28 14:19:26 drochner Exp $ */ /*- @@ -254,7 +254,7 @@ void ubt_stats(struct device *, struct bt_stats *, int); int ubt_match(struct device *, void *, void *); void ubt_attach(struct device *, struct device *, void *); int ubt_detach(struct device *, int); -int ubt_activate(struct device *, enum devact); +int ubt_activate(struct device *, int); struct cfdriver ubt_cd = { NULL, "ubt", DV_DULL @@ -498,7 +498,7 @@ ubt_detach(struct device *self, int flags) } int -ubt_activate(struct device *self, enum devact act) +ubt_activate(struct device *self, int act) { struct ubt_softc *sc = (struct ubt_softc *)self; int error = 0; |