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/kern/subr_autoconf.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/kern/subr_autoconf.c')
-rw-r--r-- | sys/kern/subr_autoconf.c | 4 |
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; |