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/usb/umidi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/usb/umidi.c') diff --git a/sys/dev/usb/umidi.c b/sys/dev/usb/umidi.c index 9755ee5450c..45d88678e12 100644 --- a/sys/dev/usb/umidi.c +++ b/sys/dev/usb/umidi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umidi.c,v 1.25 2008/06/26 05:42:19 ray Exp $ */ +/* $OpenBSD: umidi.c,v 1.26 2009/10/13 19:33:19 pirofti Exp $ */ /* $NetBSD: umidi.c,v 1.16 2002/07/11 21:14:32 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -132,7 +132,7 @@ struct midi_hw_if umidi_hw_if = { int umidi_match(struct device *, void *, void *); void umidi_attach(struct device *, struct device *, void *); int umidi_detach(struct device *, int); -int umidi_activate(struct device *, enum devact); +int umidi_activate(struct device *, int); struct cfdriver umidi_cd = { NULL, "umidi", DV_DULL @@ -232,7 +232,7 @@ error: } int -umidi_activate(struct device *self, enum devact act) +umidi_activate(struct device *self, int act) { struct umidi_softc *sc = (struct umidi_softc *)self; -- cgit v1.2.3