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/macppc | |
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/macppc')
-rw-r--r-- | sys/arch/macppc/dev/aoa.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/awacs.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/daca.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/onyx.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/snapper.c | 4 | ||||
-rw-r--r-- | sys/arch/macppc/dev/tumbler.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/macppc/dev/aoa.c b/sys/arch/macppc/dev/aoa.c index dcaf17392f0..f6372876a4d 100644 --- a/sys/arch/macppc/dev/aoa.c +++ b/sys/arch/macppc/dev/aoa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aoa.c,v 1.13 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: aoa.c,v 1.14 2022/03/21 19:22:39 miod Exp $ */ /*- * Copyright (c) 2005 Tsubai Masanari. All rights reserved. @@ -65,7 +65,7 @@ struct cfdriver aoa_cd = { NULL, "aoa", DV_DULL }; -struct audio_hw_if aoa_hw_if = { +const struct audio_hw_if aoa_hw_if = { i2s_open, i2s_close, i2s_set_params, diff --git a/sys/arch/macppc/dev/awacs.c b/sys/arch/macppc/dev/awacs.c index c0e9cfb408f..38c7ed6b411 100644 --- a/sys/arch/macppc/dev/awacs.c +++ b/sys/arch/macppc/dev/awacs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: awacs.c,v 1.36 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: awacs.c,v 1.37 2022/03/21 19:22:39 miod Exp $ */ /* $NetBSD: awacs.c,v 1.4 2001/02/26 21:07:51 wiz Exp $ */ /*- @@ -126,7 +126,7 @@ struct cfdriver awacs_cd = { NULL, "awacs", DV_DULL }; -struct audio_hw_if awacs_hw_if = { +const struct audio_hw_if awacs_hw_if = { awacs_open, awacs_close, awacs_set_params, 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, diff --git a/sys/arch/macppc/dev/onyx.c b/sys/arch/macppc/dev/onyx.c index a7b72541b40..989ed3db5d5 100644 --- a/sys/arch/macppc/dev/onyx.c +++ b/sys/arch/macppc/dev/onyx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: onyx.c,v 1.14 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: onyx.c,v 1.15 2022/03/21 19:22:39 miod Exp $ */ /*- * Copyright (c) 2005 Tsubai Masanari. All rights reserved. @@ -80,7 +80,7 @@ struct cfdriver onyx_cd = { NULL, "onyx", DV_DULL }; -struct audio_hw_if onyx_hw_if = { +const struct audio_hw_if onyx_hw_if = { i2s_open, i2s_close, i2s_set_params, diff --git a/sys/arch/macppc/dev/snapper.c b/sys/arch/macppc/dev/snapper.c index 9ccde482ae5..e4ce4077064 100644 --- a/sys/arch/macppc/dev/snapper.c +++ b/sys/arch/macppc/dev/snapper.c @@ -1,4 +1,4 @@ -/* $OpenBSD: snapper.c,v 1.41 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: snapper.c,v 1.42 2022/03/21 19:22:39 miod Exp $ */ /* $NetBSD: snapper.c,v 1.1 2003/12/27 02:19:34 grant Exp $ */ /*- @@ -77,7 +77,7 @@ struct cfdriver snapper_cd = { NULL, "snapper", DV_DULL }; -struct audio_hw_if snapper_hw_if = { +const struct audio_hw_if snapper_hw_if = { i2s_open, i2s_close, i2s_set_params, diff --git a/sys/arch/macppc/dev/tumbler.c b/sys/arch/macppc/dev/tumbler.c index 91298692632..fbc343b7c66 100644 --- a/sys/arch/macppc/dev/tumbler.c +++ b/sys/arch/macppc/dev/tumbler.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tumbler.c,v 1.11 2022/03/13 12:33:01 mpi Exp $ */ +/* $OpenBSD: tumbler.c,v 1.12 2022/03/21 19:22:39 miod Exp $ */ /*- * Copyright (c) 2001,2003 Tsubai Masanari. All rights reserved. @@ -75,7 +75,7 @@ struct cfdriver tumbler_cd = { NULL, "tumbler", DV_DULL }; -struct audio_hw_if tumbler_hw_if = { +const struct audio_hw_if tumbler_hw_if = { i2s_open, i2s_close, i2s_set_params, |