From 4905c003445b35959b23c629aa28a3c895bc9b6d Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 21 Mar 2022 19:22:43 +0000 Subject: Constify struct {audio,midi,radio,video}_hw_if. No functional change. ok mpi@ ratchov@ "More const is good" deraadt@ --- sys/dev/sbus/cs4231.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sbus') 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, -- cgit v1.2.3