summaryrefslogtreecommitdiff
path: root/sys/dev/sbus
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/dev/sbus
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/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 06b090fc736..2672609ae1a 100644
--- a/sys/dev/sbus/cs4231.c
+++ b/sys/dev/sbus/cs4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231.c,v 1.40 2022/03/13 13:34:54 mpi Exp $ */
+/* $OpenBSD: cs4231.c,v 1.41 2022/03/21 19:22:41 miod Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -151,7 +151,7 @@ int cs4231_trigger_output(void *, void *, void *, int,
int cs4231_trigger_input(void *, void *, void *, int,
void (*)(void *), void *, struct audio_params *);
-struct audio_hw_if cs4231_sa_hw_if = {
+const struct audio_hw_if cs4231_sa_hw_if = {
cs4231_open,
cs4231_close,
cs4231_set_params,