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/uberry.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/uberry.c')
-rw-r--r-- | sys/dev/usb/uberry.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uberry.c b/sys/dev/usb/uberry.c index ffab38b5090..8e6644823d5 100644 --- a/sys/dev/usb/uberry.c +++ b/sys/dev/usb/uberry.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uberry.c,v 1.15 2007/10/11 18:33:14 deraadt Exp $ */ +/* $OpenBSD: uberry.c,v 1.16 2009/10/13 19:33:17 pirofti Exp $ */ /*- * Copyright (c) 2006 Theo de Raadt <deraadt@openbsd.org> @@ -58,7 +58,7 @@ struct usb_devno const uberry_devices[] = { int uberry_match(struct device *, void *, void *); void uberry_attach(struct device *, struct device *, void *); int uberry_detach(struct device *, int); -int uberry_activate(struct device *, enum devact); +int uberry_activate(struct device *, int); void uberry_pearlmode(struct uberry_softc *); void uberry_charge(struct uberry_softc *); @@ -157,7 +157,7 @@ uberry_detach(struct device *self, int flags) } int -uberry_activate(struct device *self, enum devact act) +uberry_activate(struct device *self, int act) { switch (act) { case DVACT_ACTIVATE: |