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/dev/fdt/rkiis.c | |
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/dev/fdt/rkiis.c')
-rw-r--r-- | sys/dev/fdt/rkiis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/rkiis.c b/sys/dev/fdt/rkiis.c index bf170513447..baf3c1d6bf3 100644 --- a/sys/dev/fdt/rkiis.c +++ b/sys/dev/fdt/rkiis.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkiis.c,v 1.1 2020/06/11 00:02:08 patrick Exp $ */ +/* $OpenBSD: rkiis.c,v 1.2 2022/03/21 19:22:40 miod Exp $ */ /* $NetBSD: rk_i2s.c,v 1.3 2020/02/29 05:51:10 isaki Exp $ */ /*- * Copyright (c) 2019 Jared McNeill <jmcneill@invisible.ca> @@ -200,7 +200,7 @@ struct rkiis_softc { struct dai_device sc_dai; }; -struct audio_hw_if rkiis_hw_if = { +const struct audio_hw_if rkiis_hw_if = { .set_params = rkiis_set_params, .get_props = rkiis_get_props, .allocm = rkiis_allocm, |