summaryrefslogtreecommitdiff
path: root/sys/dev/fdt
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/fdt
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/fdt')
-rw-r--r--sys/dev/fdt/graphaudio.c4
-rw-r--r--sys/dev/fdt/simpleaudio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/fdt/graphaudio.c b/sys/dev/fdt/graphaudio.c
index bf2889306bf..900daf57226 100644
--- a/sys/dev/fdt/graphaudio.c
+++ b/sys/dev/fdt/graphaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: graphaudio.c,v 1.1 2021/04/07 17:12:22 kettenis Exp $ */
+/* $OpenBSD: graphaudio.c,v 1.2 2022/02/16 06:21:18 anton Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org>
@@ -186,7 +186,7 @@ graphaudio_attach_deferred(struct device *self)
graphaudio_set_format(sc, fmt, pol, clk);
- audio_attach_mi(&graphaudio_hw_if, sc, &sc->sc_dev);
+ audio_attach_mi(&graphaudio_hw_if, sc, NULL, &sc->sc_dev);
}
void
diff --git a/sys/dev/fdt/simpleaudio.c b/sys/dev/fdt/simpleaudio.c
index 055f2e78e10..9ed72558849 100644
--- a/sys/dev/fdt/simpleaudio.c
+++ b/sys/dev/fdt/simpleaudio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: simpleaudio.c,v 1.2 2021/04/05 14:36:18 kn Exp $ */
+/* $OpenBSD: simpleaudio.c,v 1.3 2022/02/16 06:21:18 anton Exp $ */
/*
* Copyright (c) 2020 Patrick Wildt <patrick@blueri.se>
*
@@ -206,7 +206,7 @@ simpleaudio_attach_deferred(struct device *self)
simpleaudio_set_format(sc, fmt, pol, clk);
- audio_attach_mi(&simpleaudio_hw_if, sc, &sc->sc_dev);
+ audio_attach_mi(&simpleaudio_hw_if, sc, NULL, &sc->sc_dev);
}
void