diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2022-03-11 18:00:54 +0000 |
commit | cfb4d61dc1dd87dca103128e4ad1ae774cc70cdc (patch) | |
tree | 6aea6d82a08b4b76b7e20217ed0f623bff22e12e /sys/dev/pci/kate.c | |
parent | b9269c543aa26a0786f58657c5d117f81c8f67e3 (diff) |
Constify struct cfattach.
Diffstat (limited to 'sys/dev/pci/kate.c')
-rw-r--r-- | sys/dev/pci/kate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/kate.c b/sys/dev/pci/kate.c index 79648ce08d6..2bf8b92a881 100644 --- a/sys/dev/pci/kate.c +++ b/sys/dev/pci/kate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kate.c,v 1.7 2020/01/04 01:34:24 jsg Exp $ */ +/* $OpenBSD: kate.c,v 1.8 2022/03/11 18:00:50 mpi Exp $ */ /* * Copyright (c) 2008 Constantine A. Murenin <cnst+openbsd@bugmail.mojo.ru> @@ -80,7 +80,7 @@ int kate_match(struct device *, void *, void *); void kate_attach(struct device *, struct device *, void *); void kate_refresh(void *); -struct cfattach kate_ca = { +const struct cfattach kate_ca = { sizeof(struct kate_softc), kate_match, kate_attach }; |