summaryrefslogtreecommitdiff
path: root/sys/dev/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/video.c')
-rw-r--r--sys/dev/video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/video.c b/sys/dev/video.c
index 3ec200e0f37..7319074c27b 100644
--- a/sys/dev/video.c
+++ b/sys/dev/video.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: video.c,v 1.54 2021/02/17 17:21:58 mglocker Exp $ */
+/* $OpenBSD: video.c,v 1.55 2022/03/21 19:22:40 miod Exp $ */
/*
* Copyright (c) 2008 Robert Nagy <robert@openbsd.org>
@@ -46,7 +46,7 @@ struct video_softc {
struct device dev;
void *hw_hdl; /* hardware driver handle */
struct device *sc_dev; /* hardware device struct */
- struct video_hw_if *hw_if; /* hardware interface */
+ const struct video_hw_if *hw_if; /* hardware interface */
char sc_dying; /* device detached */
struct process *sc_owner; /* owner process */
uint8_t sc_open; /* device opened */
@@ -562,7 +562,7 @@ video_submatch(struct device *parent, void *match, void *aux)
* probed/attached to the hardware driver
*/
struct device *
-video_attach_mi(struct video_hw_if *rhwp, void *hdlp, struct device *dev)
+video_attach_mi(const struct video_hw_if *rhwp, void *hdlp, struct device *dev)
{
struct video_attach_args arg;