summaryrefslogtreecommitdiff
path: root/sys/dev/hil
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-04-06 18:59:31 +0000
commitebc1b592da53d1d38401806437530b56bffc8afd (patch)
tree5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/hil
parent90576ca3c44963267c861feb5432ae35c1ccd46b (diff)
constify struct cfattach
Diffstat (limited to 'sys/dev/hil')
-rw-r--r--sys/dev/hil/hilid.c4
-rw-r--r--sys/dev/hil/hilkbd.c4
-rw-r--r--sys/dev/hil/hilms.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/hil/hilid.c b/sys/dev/hil/hilid.c
index ad65909d55d..46ad931f264 100644
--- a/sys/dev/hil/hilid.c
+++ b/sys/dev/hil/hilid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilid.c,v 1.4 2005/01/09 23:49:36 miod Exp $ */
+/* $OpenBSD: hilid.c,v 1.5 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -53,7 +53,7 @@ struct cfdriver hilid_cd = {
NULL, "hilid", DV_DULL
};
-struct cfattach hilid_ca = {
+const struct cfattach hilid_ca = {
sizeof(struct hilid_softc), hilidprobe, hilidattach, hiliddetach,
};
diff --git a/sys/dev/hil/hilkbd.c b/sys/dev/hil/hilkbd.c
index 069e8f0735b..a7807db9c4c 100644
--- a/sys/dev/hil/hilkbd.c
+++ b/sys/dev/hil/hilkbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilkbd.c,v 1.17 2017/03/11 11:55:03 mpi Exp $ */
+/* $OpenBSD: hilkbd.c,v 1.18 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -75,7 +75,7 @@ struct cfdriver hilkbd_cd = {
NULL, "hilkbd", DV_DULL
};
-struct cfattach hilkbd_ca = {
+const struct cfattach hilkbd_ca = {
sizeof(struct hilkbd_softc), hilkbdprobe, hilkbdattach, hilkbddetach,
};
diff --git a/sys/dev/hil/hilms.c b/sys/dev/hil/hilms.c
index a59b7949925..c13d1bd4536 100644
--- a/sys/dev/hil/hilms.c
+++ b/sys/dev/hil/hilms.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hilms.c,v 1.6 2016/06/05 20:15:54 bru Exp $ */
+/* $OpenBSD: hilms.c,v 1.7 2022/04/06 18:59:28 naddy Exp $ */
/*
* Copyright (c) 2003, Miodrag Vallat.
* All rights reserved.
@@ -62,7 +62,7 @@ struct cfdriver hilms_cd = {
NULL, "hilms", DV_DULL
};
-struct cfattach hilms_ca = {
+const struct cfattach hilms_ca = {
sizeof(struct hilms_softc), hilmsprobe, hilmsattach, hilmsdetach,
};