From 6682179a1c327ebfd5a91e7dc39282434a805c2f Mon Sep 17 00:00:00 2001 From: Paul Irofti Date: Tue, 13 Oct 2009 19:33:20 +0000 Subject: 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@. --- sys/dev/pcmcia/com_pcmcia.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pcmcia/com_pcmcia.c') 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; -- cgit v1.2.3