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/onewire/owid.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/onewire/owid.c')
-rw-r--r-- | sys/dev/onewire/owid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/onewire/owid.c b/sys/dev/onewire/owid.c index e2efab5b6d2..3a0e23d8dd1 100644 --- a/sys/dev/onewire/owid.c +++ b/sys/dev/onewire/owid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: owid.c,v 1.6 2008/10/25 00:27:09 deraadt Exp $ */ +/* $OpenBSD: owid.c,v 1.7 2009/10/13 19:33:16 pirofti Exp $ */ /* * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org> @@ -46,7 +46,7 @@ struct owid_softc { int owid_match(struct device *, void *, void *); void owid_attach(struct device *, struct device *, void *); int owid_detach(struct device *, int); -int owid_activate(struct device *, enum devact); +int owid_activate(struct device *, int); struct cfattach owid_ca = { sizeof(struct owid_softc), @@ -104,7 +104,7 @@ owid_detach(struct device *self, int flags) } int -owid_activate(struct device *self, enum devact act) +owid_activate(struct device *self, int act) { struct owid_softc *sc = (struct owid_softc *)self; |