summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_upl.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/if_upl.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/if_upl.c')
-rw-r--r--sys/dev/usb/if_upl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_upl.c b/sys/dev/usb/if_upl.c
index 8986def4f4f..cd35425a870 100644
--- a/sys/dev/usb/if_upl.c
+++ b/sys/dev/usb/if_upl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upl.c,v 1.42 2008/10/03 03:13:09 brad Exp $ */
+/* $OpenBSD: if_upl.c,v 1.43 2009/10/13 19:33:17 pirofti Exp $ */
/* $NetBSD: if_upl.c,v 1.19 2002/07/11 21:14:26 augustss Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -172,7 +172,7 @@ struct upl_type sc_devs[] = {
int upl_match(struct device *, void *, void *);
void upl_attach(struct device *, struct device *, void *);
int upl_detach(struct device *, int);
-int upl_activate(struct device *, enum devact);
+int upl_activate(struct device *, int);
struct cfdriver upl_cd = {
NULL, "upl", DV_IFNET
@@ -356,7 +356,7 @@ upl_detach(struct device *self, int flags)
}
int
-upl_activate(struct device *self, enum devact act)
+upl_activate(struct device *self, int act)
{
struct upl_softc *sc = (struct upl_softc *)self;