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/scsiconf.c | |
parent | 0dd9ae661fa85df8ed28132ccebb89f217a8a0a2 (diff) |
Constify struct cfattach.
ok visa@ a long time ago, ok krw@
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index baa4dfdcdd7..92dfba2793f 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.237 2020/11/19 13:45:15 krw Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.238 2021/10/24 16:57:30 mpi Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -95,7 +95,7 @@ int scsi_activate_lun(struct scsibus_softc *, int, int, int); int scsi_autoconf = SCSI_AUTOCONF; -struct cfattach scsibus_ca = { +const struct cfattach scsibus_ca = { sizeof(struct scsibus_softc), scsibusmatch, scsibusattach, scsibusdetach, scsibusactivate }; |