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/if_cue.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/if_cue.c')
-rw-r--r-- | sys/dev/usb/if_cue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 1225a3aead6..788df72aa2b 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cue.c,v 1.51 2008/11/28 02:44:18 brad Exp $ */ +/* $OpenBSD: if_cue.c,v 1.52 2009/10/13 19:33:17 pirofti Exp $ */ /* $NetBSD: if_cue.c,v 1.40 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -112,7 +112,7 @@ struct usb_devno cue_devs[] = { int cue_match(struct device *, void *, void *); void cue_attach(struct device *, struct device *, void *); int cue_detach(struct device *, int); -int cue_activate(struct device *, enum devact); +int cue_activate(struct device *, int); struct cfdriver cue_cd = { NULL, "cue", DV_IFNET @@ -595,7 +595,7 @@ cue_detach(struct device *self, int flags) } int -cue_activate(struct device *self, enum devact act) +cue_activate(struct device *self, int act) { struct cue_softc *sc = (struct cue_softc *)self; |