summaryrefslogtreecommitdiff
path: root/sys/dev/pci/autri.c
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/pci/autri.c
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/pci/autri.c')
-rw-r--r--sys/dev/pci/autri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/autri.c b/sys/dev/pci/autri.c
index 7f85a254b81..228e3f2d0e5 100644
--- a/sys/dev/pci/autri.c
+++ b/sys/dev/pci/autri.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autri.c,v 1.44 2020/01/11 09:08:39 cheloha Exp $ */
+/* $OpenBSD: autri.c,v 1.45 2022/02/16 06:21:18 anton Exp $ */
/*
* Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro.
@@ -574,7 +574,7 @@ autri_attach(struct device *parent, struct device *self, void *aux)
ctl.dev = autri_get_portnum_by_name(sc,AudioCoutputs,AudioNmaster,NULL);
autri_mixer_set_port(sc, &ctl);
- audio_attach_mi(&autri_hw_if, sc, &sc->sc_dev);
+ audio_attach_mi(&autri_hw_if, sc, NULL, &sc->sc_dev);
#if NMIDI > 0
midi_attach_mi(&autri_midi_hw_if, sc, &sc->sc_dev);