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/ofw | |
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/ofw')
-rw-r--r-- | sys/dev/ofw/ofw_misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ofw/ofw_misc.h b/sys/dev/ofw/ofw_misc.h index 2dfa800a820..9aee48a0f22 100644 --- a/sys/dev/ofw/ofw_misc.h +++ b/sys/dev/ofw/ofw_misc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_misc.h,v 1.23 2022/03/02 12:00:46 kettenis Exp $ */ +/* $OpenBSD: ofw_misc.h,v 1.24 2022/03/21 19:22:40 miod Exp $ */ /* * Copyright (c) 2017-2021 Mark Kettenis * @@ -191,7 +191,7 @@ void *endpoint_get_cookie(struct endpoint *); struct dai_device { int dd_node; void *dd_cookie; - void *dd_hw_if; + const void *dd_hw_if; int (*dd_set_format)(void *, uint32_t, uint32_t, uint32_t); int (*dd_set_sysclk)(void *, uint32_t); |