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/pcmcia/com_pcmcia.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/pcmcia/com_pcmcia.c')
-rw-r--r-- | sys/dev/pcmcia/com_pcmcia.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c index 1d54f8cbb9c..4f60c05b483 100644 --- a/sys/dev/pcmcia/com_pcmcia.c +++ b/sys/dev/pcmcia/com_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_pcmcia.c,v 1.48 2008/06/26 05:42:17 ray Exp $ */ +/* $OpenBSD: com_pcmcia.c,v 1.49 2009/10/13 19:33:16 pirofti Exp $ */ /* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */ /* @@ -132,7 +132,7 @@ int com_pcmcia_match(struct device *, void *, void *); void com_pcmcia_attach(struct device *, struct device *, void *); int com_pcmcia_detach(struct device *, int); void com_pcmcia_cleanup(void *); -int com_pcmcia_activate(struct device *, enum devact); +int com_pcmcia_activate(struct device *, int); int com_pcmcia_enable(struct com_softc *); void com_pcmcia_disable(struct com_softc *); @@ -208,7 +208,7 @@ com_pcmcia_match(parent, match, aux) int com_pcmcia_activate(dev, act) struct device *dev; - enum devact act; + int act; { struct com_pcmcia_softc *sc = (void *) dev; int s; |