summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udcf.c
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
commit6682179a1c327ebfd5a91e7dc39282434a805c2f (patch)
tree4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/dev/usb/udcf.c
parent8120c6ba90a94a5745094b6f232932d0695cae1c (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/udcf.c')
-rw-r--r--sys/dev/usb/udcf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/udcf.c b/sys/dev/usb/udcf.c
index 91b2a46734b..9da552c4856 100644
--- a/sys/dev/usb/udcf.c
+++ b/sys/dev/usb/udcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udcf.c,v 1.46 2009/04/26 02:20:58 cnst Exp $ */
+/* $OpenBSD: udcf.c,v 1.47 2009/10/13 19:33:17 pirofti Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@ -138,7 +138,7 @@ void udcf_ct_probe(void *);
int udcf_match(struct device *, void *, void *);
void udcf_attach(struct device *, struct device *, void *);
int udcf_detach(struct device *, int);
-int udcf_activate(struct device *, enum devact);
+int udcf_activate(struct device *, int);
int udcf_nc_signal(struct udcf_softc *);
int udcf_nc_init_hw(struct udcf_softc *);
@@ -798,7 +798,7 @@ udcf_ct_probe(void *xsc)
}
int
-udcf_activate(struct device *self, enum devact act)
+udcf_activate(struct device *self, int act)
{
struct udcf_softc *sc = (struct udcf_softc *)self;