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/pci/auglx.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/pci/auglx.c')
-rw-r--r-- | sys/dev/pci/auglx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/auglx.c b/sys/dev/pci/auglx.c index 8316136cef3..7902c382002 100644 --- a/sys/dev/pci/auglx.c +++ b/sys/dev/pci/auglx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auglx.c,v 1.19 2022/03/11 18:00:45 mpi Exp $ */ +/* $OpenBSD: auglx.c,v 1.20 2022/03/21 19:22:40 miod Exp $ */ /* * Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org> @@ -234,7 +234,7 @@ void auglx_free_prd(struct auglx_softc *sc, struct auglx_ring *bm); int auglx_allocmem(struct auglx_softc *, size_t, size_t, struct auglx_dma *); void auglx_freemem(struct auglx_softc *, struct auglx_dma *); -struct audio_hw_if auglx_hw_if = { +const struct audio_hw_if auglx_hw_if = { auglx_open, auglx_close, auglx_set_params, |