diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2022-04-06 18:59:31 +0000 |
commit | ebc1b592da53d1d38401806437530b56bffc8afd (patch) | |
tree | 5ee147f2b5a9dc203dd38da2c735f246fa830f58 /sys/dev/adb/akbd.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/adb/akbd.c')
-rw-r--r-- | sys/dev/adb/akbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/adb/akbd.c b/sys/dev/adb/akbd.c index c7287c81fe9..801f5b7f09a 100644 --- a/sys/dev/adb/akbd.c +++ b/sys/dev/adb/akbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: akbd.c,v 1.14 2014/01/26 17:48:08 miod Exp $ */ +/* $OpenBSD: akbd.c,v 1.15 2022/04/06 18:59:27 naddy Exp $ */ /* $NetBSD: akbd.c,v 1.17 2005/01/15 16:00:59 chs Exp $ */ /* @@ -57,7 +57,7 @@ int akbdmatch(struct device *, void *, void *); void akbdattach(struct device *, struct device *, void *); /* Driver definition. */ -struct cfattach akbd_ca = { +const struct cfattach akbd_ca = { sizeof(struct akbd_softc), akbdmatch, akbdattach }; struct cfdriver akbd_cd = { |