summaryrefslogtreecommitdiff
path: root/sys/dev/radiovar.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2022-03-21 19:22:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2022-03-21 19:22:43 +0000
commit4905c003445b35959b23c629aa28a3c895bc9b6d (patch)
treebb9515c3023b22f226907e08313f9bc6a709945d /sys/dev/radiovar.h
parent9bfc17aea3158443a2c4b5bad224c671bd4c9c46 (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/radiovar.h')
-rw-r--r--sys/dev/radiovar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/radiovar.h b/sys/dev/radiovar.h
index 921f9ec400d..a4b50e92e2c 100644
--- a/sys/dev/radiovar.h
+++ b/sys/dev/radiovar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: radiovar.h,v 1.3 2002/01/05 02:23:03 mickey Exp $ */
+/* $OpenBSD: radiovar.h,v 1.4 2022/03/21 19:22:40 miod Exp $ */
/* $RuOBSD: radiovar.h,v 1.3 2001/09/29 17:10:16 pva Exp $ */
/*
@@ -33,7 +33,7 @@ struct radio_softc {
struct device dev;
void *hw_hdl; /* hardware driver handle */
struct device *sc_dev; /* hardware device struct */
- struct radio_hw_if *hw_if; /* hardware interface */
+ const struct radio_hw_if *hw_if; /* hardware interface */
char sc_dying; /* device detached */
};