summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/daca.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-03-21 19:22:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-03-21 19:22:43 +0000
commit4905c003445b35959b23c629aa28a3c895bc9b6d (patch)
treebb9515c3023b22f226907e08313f9bc6a709945d /sys/arch/macppc/dev/daca.c
parent9bfc17aea3158443a2c4b5bad224c671bd4c9c46 (diff)
Constify struct {audio,midi,radio,video}_hw_if. No functional change.
ok mpi@ ratchov@ "More const is good" deraadt@
Diffstat (limited to 'sys/arch/macppc/dev/daca.c')
-rw-r--r--sys/arch/macppc/dev/daca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/dev/daca.c b/sys/arch/macppc/dev/daca.c
index bc44d162907..178b1daeb59 100644
--- a/sys/arch/macppc/dev/daca.c
+++ b/sys/arch/macppc/dev/daca.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: daca.c,v 1.12 2022/03/13 12:33:01 mpi Exp $ */
+/* $OpenBSD: daca.c,v 1.13 2022/03/21 19:22:39 miod Exp $ */
/*-
* Copyright (c) 2002,2003 Tsubai Masanari. All rights reserved.
@@ -71,7 +71,7 @@ struct cfdriver daca_cd = {
NULL, "daca", DV_DULL
};
-struct audio_hw_if daca_hw_if = {
+const struct audio_hw_if daca_hw_if = {
i2s_open,
i2s_close,
i2s_set_params,