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/uftdi.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/uftdi.c')
-rw-r--r-- | sys/dev/usb/uftdi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uftdi.c b/sys/dev/usb/uftdi.c index d7673843da0..98b3bb76ceb 100644 --- a/sys/dev/usb/uftdi.c +++ b/sys/dev/usb/uftdi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uftdi.c,v 1.53 2009/04/22 18:56:56 deraadt Exp $ */ +/* $OpenBSD: uftdi.c,v 1.54 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: uftdi.c,v 1.14 2003/02/23 04:20:07 simonb Exp $ */ /* @@ -120,7 +120,7 @@ struct ucom_methods uftdi_methods = { int uftdi_match(struct device *, void *, void *); void uftdi_attach(struct device *, struct device *, void *); int uftdi_detach(struct device *, int); -int uftdi_activate(struct device *, enum devact); +int uftdi_activate(struct device *, int); struct cfdriver uftdi_cd = { NULL, "uftdi", DV_DULL @@ -546,7 +546,7 @@ bad: } int -uftdi_activate(struct device *self, enum devact act) +uftdi_activate(struct device *self, int act) { struct uftdi_softc *sc = (struct uftdi_softc *)self; int rv = 0; |