From 3f2252f686cee65bad13410024ec6cbfcc38be19 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Sat, 16 Apr 2022 19:20:00 +0000 Subject: constify SCSI adapter entry points ok krw@ --- sys/dev/vscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/vscsi.c') diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c index cb6b475572c..c78d197bd30 100644 --- a/sys/dev/vscsi.c +++ b/sys/dev/vscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vscsi.c,v 1.59 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: vscsi.c,v 1.60 2022/04/16 19:19:58 naddy Exp $ */ /* * Copyright (c) 2008 David Gwynne @@ -94,7 +94,7 @@ void vscsi_cmd(struct scsi_xfer *); int vscsi_probe(struct scsi_link *); void vscsi_free(struct scsi_link *); -struct scsi_adapter vscsi_switch = { +const struct scsi_adapter vscsi_switch = { vscsi_cmd, NULL, vscsi_probe, vscsi_free, NULL }; -- cgit v1.2.3