From 4905c003445b35959b23c629aa28a3c895bc9b6d Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 21 Mar 2022 19:22:43 +0000 Subject: Constify struct {audio,midi,radio,video}_hw_if. No functional change. ok mpi@ ratchov@ "More const is good" deraadt@ --- sys/dev/ofw/ofw_misc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ofw') 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); -- cgit v1.2.3