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/fmsradio.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/fmsradio.c')
-rw-r--r-- | sys/dev/pci/fmsradio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/fmsradio.c b/sys/dev/pci/fmsradio.c index b87e84818ee..26f34732dd3 100644 --- a/sys/dev/pci/fmsradio.c +++ b/sys/dev/pci/fmsradio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fmsradio.c,v 1.7 2021/11/23 00:17:59 jsg Exp $ */ +/* $OpenBSD: fmsradio.c,v 1.8 2022/03/21 19:22:41 miod Exp $ */ /* * Copyright (c) 2002 Vladimir Popov <jumbo@narod.ru> @@ -136,7 +136,7 @@ int fmsradio_get_info(void *, struct radio_info *); int fmsradio_set_info(void *, struct radio_info *); int fmsradio_search(void *, int); -struct radio_hw_if fmsradio_hw_if = { +const struct radio_hw_if fmsradio_hw_if = { NULL, /* open */ NULL, /* close */ fmsradio_get_info, |