summaryrefslogtreecommitdiff
path: root/sys/dev/audio.c
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2009-10-13 19:33:20 +0000
commit6682179a1c327ebfd5a91e7dc39282434a805c2f (patch)
tree4d4643ee1beb2ad41f471df273cdcf08291d535b /sys/dev/audio.c
parent8120c6ba90a94a5745094b6f232932d0695cae1c (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/audio.c')
-rw-r--r--sys/dev/audio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/audio.c b/sys/dev/audio.c
index 7bfd842382a..9299857f2d1 100644
--- a/sys/dev/audio.c
+++ b/sys/dev/audio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio.c,v 1.104 2009/06/18 22:55:56 jakemsr Exp $ */
+/* $OpenBSD: audio.c,v 1.105 2009/10/13 19:33:16 pirofti Exp $ */
/* $NetBSD: audio.c,v 1.119 1999/11/09 16:50:47 augustss Exp $ */
/*
@@ -153,7 +153,7 @@ int audioprint(void *, const char *);
int audioprobe(struct device *, void *, void *);
void audioattach(struct device *, struct device *, void *);
int audiodetach(struct device *, int);
-int audioactivate(struct device *, enum devact);
+int audioactivate(struct device *, int);
struct portname {
char *name;
@@ -364,7 +364,7 @@ audioattach(struct device *parent, struct device *self, void *aux)
}
int
-audioactivate(struct device *self, enum devact act)
+audioactivate(struct device *self, int act)
{
struct audio_softc *sc = (struct audio_softc *)self;