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/video_if.h | |
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/video_if.h')
-rw-r--r-- | sys/dev/video_if.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/video_if.h b/sys/dev/video_if.h index 3f0cbd20352..9c1ba23ab6d 100644 --- a/sys/dev/video_if.h +++ b/sys/dev/video_if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: video_if.h,v 1.18 2014/10/18 08:01:34 armani Exp $ */ +/* $OpenBSD: video_if.h,v 1.19 2022/03/21 19:22:40 miod Exp $ */ /* * Copyright (c) 2008 Robert Nagy <robert@openbsd.org> * Copyright (c) 2008 Marcus Glocker <mglocker@openbsd.org> @@ -63,10 +63,11 @@ struct video_hw_if { }; struct video_attach_args { - void *hwif; + const void *hwif; void *hdl; }; -struct device *video_attach_mi(struct video_hw_if *, void *, struct device *); +struct device *video_attach_mi(const struct video_hw_if *, void *, + struct device *); #endif /* _SYS_DEV_VIDEO_IF_H */ |