diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2021-10-24 16:57:31 +0000 |
commit | c8be2ba43488e53d0b110913fc7daaad40a60ccf (patch) | |
tree | e0efa2bfe34c32cb37768fa2744cbe4764f49a69 /sys/scsi/ch.c | |
parent | 0dd9ae661fa85df8ed28132ccebb89f217a8a0a2 (diff) |
Constify struct cfattach.
ok visa@ a long time ago, ok krw@
Diffstat (limited to 'sys/scsi/ch.c')
-rw-r--r-- | sys/scsi/ch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index 7672970b5c8..27b9505aa9d 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ch.c,v 1.69 2021/08/31 05:29:55 robert Exp $ */ +/* $OpenBSD: ch.c,v 1.70 2021/10/24 16:57:30 mpi Exp $ */ /* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */ /* @@ -96,7 +96,7 @@ struct ch_softc { int chmatch(struct device *, void *, void *); void chattach(struct device *, struct device *, void *); -struct cfattach ch_ca = { +const struct cfattach ch_ca = { sizeof(struct ch_softc), chmatch, chattach }; |