diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2022-03-21 19:22:43 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2022-03-21 19:22:43 +0000 |
commit | 4905c003445b35959b23c629aa28a3c895bc9b6d (patch) | |
tree | bb9515c3023b22f226907e08313f9bc6a709945d /sys/arch/sparc64/dev | |
parent | 9bfc17aea3158443a2c4b5bad224c671bd4c9c46 (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/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/ce4231.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/ce4231.c b/sys/arch/sparc64/dev/ce4231.c index 5e220907150..edd74d38c86 100644 --- a/sys/arch/sparc64/dev/ce4231.c +++ b/sys/arch/sparc64/dev/ce4231.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ce4231.c,v 1.38 2022/02/16 06:21:18 anton Exp $ */ +/* $OpenBSD: ce4231.c,v 1.39 2022/03/21 19:22:39 miod Exp $ */ /* * Copyright (c) 1999 Jason L. Wright (jason@thought.net) @@ -150,7 +150,7 @@ int ce4231_trigger_output(void *, void *, void *, int, int ce4231_trigger_input(void *, void *, void *, int, void (*intr)(void *), void *arg, struct audio_params *); -struct audio_hw_if ce4231_sa_hw_if = { +const struct audio_hw_if ce4231_sa_hw_if = { ce4231_open, ce4231_close, ce4231_set_params, |