summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_autoconf.c
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2009-10-13 19:33:16 +0000
committerpirofti <pirofti@openbsd.org>2009-10-13 19:33:16 +0000
commite78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00 (patch)
tree73f6f3f25e0bb936b93bd2c0bc42e990ecd3aea6 /sys/kern/subr_autoconf.c
parentsync (diff)
downloadwireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.tar.xz
wireguard-openbsd-e78728c7e57c4ce0e301c2a9c78eee6f8c0a8c00.zip
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/kern/subr_autoconf.c')
-rw-r--r--sys/kern/subr_autoconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c
index a847266e065..df7c6a5ba9d 100644
--- a/sys/kern/subr_autoconf.c
+++ b/sys/kern/subr_autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr_autoconf.c,v 1.56 2008/08/20 04:37:15 miod Exp $ */
+/* $OpenBSD: subr_autoconf.c,v 1.57 2009/10/13 19:33:19 pirofti Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.21 1996/04/04 06:06:18 cgd Exp $ */
/*
@@ -746,7 +746,7 @@ config_detach_children(struct device *parent, int flags)
}
int
-config_activate_children(struct device *parent, enum devact act)
+config_activate_children(struct device *parent, int act)
{
struct device *dev, *next_dev;
int rv = 0;