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/isa/mpu401.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/isa/mpu401.c')
-rw-r--r-- | sys/dev/isa/mpu401.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/mpu401.c b/sys/dev/isa/mpu401.c index cacab0e6442..60e5d635417 100644 --- a/sys/dev/isa/mpu401.c +++ b/sys/dev/isa/mpu401.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpu401.c,v 1.16 2021/03/07 06:17:04 jsg Exp $ */ +/* $OpenBSD: mpu401.c,v 1.17 2022/03/21 19:22:40 miod Exp $ */ /* $NetBSD: mpu401.c,v 1.3 1998/11/25 22:17:06 augustss Exp $ */ /* @@ -68,7 +68,7 @@ struct cfdriver mpu_cd = { NULL, "mpu", DV_DULL }; -struct midi_hw_if mpu_midi_hw_if = { +const struct midi_hw_if mpu_midi_hw_if = { mpu_open, mpu_close, mpu_output, |