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/umsm.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/umsm.c')
-rw-r--r-- | sys/dev/usb/umsm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index 2b2f498e746..6b42bc9eb62 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.50 2009/10/12 21:30:08 jsg Exp $ */ +/* $OpenBSD: umsm.c,v 1.51 2009/10/13 19:33:19 pirofti Exp $ */ /* * Copyright (c) 2008 Yojiro UO <yuo@nui.org> @@ -57,7 +57,7 @@ int umsmdebug = 0; int umsm_match(struct device *, void *, void *); void umsm_attach(struct device *, struct device *, void *); int umsm_detach(struct device *, int); -int umsm_activate(struct device *, enum devact); +int umsm_activate(struct device *, int); int umsm_open(void *, int); void umsm_close(void *, int); @@ -388,7 +388,7 @@ umsm_detach(struct device *self, int flags) } int -umsm_activate(struct device *self, enum devact act) +umsm_activate(struct device *self, int act) { struct umsm_softc *sc = (struct umsm_softc *)self; int rv = 0; |