summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2022-02-16 06:21:20 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2022-02-16 06:21:20 +0000
commit6b5ed4ea8ca4b14dafdb7ce15afc72a6d756202a (patch)
tree78567ae4289861ca9d6a25dcc382f5eb0e9f874d /sys/dev/sbus
parent1cea3101da903c78d6e8888c4319699662a142ee (diff)
Make room for a cookie argument passed to audio_attach_mi(). Currently
unused but intended to be used to correlate audio and wskbd devices. ok ratchov@
Diffstat (limited to 'sys/dev/sbus')
-rw-r--r--sys/dev/sbus/cs4231.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/cs4231.c b/sys/dev/sbus/cs4231.c
index 959b9bee704..bb3e8138112 100644
--- a/sys/dev/sbus/cs4231.c
+++ b/sys/dev/sbus/cs4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231.c,v 1.38 2017/01/04 07:33:14 ratchov Exp $ */
+/* $OpenBSD: cs4231.c,v 1.39 2022/02/16 06:21:19 anton Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -243,7 +243,7 @@ cs4231_attach(struct device *parent, struct device *self, void *aux)
printf("\n");
- audio_attach_mi(&cs4231_sa_hw_if, sc, &sc->sc_dev);
+ audio_attach_mi(&cs4231_sa_hw_if, sc, NULL, &sc->sc_dev);
/* Default to speaker, unmuted, reasonable volume */
sc->sc_out_port = CSPORT_SPEAKER;