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/gpio/gpioow.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/gpio/gpioow.c')
-rw-r--r-- | sys/dev/gpio/gpioow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/gpio/gpioow.c b/sys/dev/gpio/gpioow.c index 51536de91c5..ff49c06e832 100644 --- a/sys/dev/gpio/gpioow.c +++ b/sys/dev/gpio/gpioow.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gpioow.c,v 1.3 2008/11/24 12:12:12 mbalmer Exp $ */ +/* $OpenBSD: gpioow.c,v 1.4 2009/10/13 19:33:16 pirofti Exp $ */ /* * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org> @@ -49,7 +49,7 @@ struct gpioow_softc { int gpioow_match(struct device *, void *, void *); void gpioow_attach(struct device *, struct device *, void *); int gpioow_detach(struct device *, int); -int gpioow_activate(struct device *, enum devact); +int gpioow_activate(struct device *, int); int gpioow_ow_reset(void *); int gpioow_ow_bit(void *, int); @@ -170,7 +170,7 @@ gpioow_detach(struct device *self, int flags) } int -gpioow_activate(struct device *self, enum devact act) +gpioow_activate(struct device *self, int act) { struct gpioow_softc *sc = (struct gpioow_softc *)self; int rv = 0; |