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/cardbus/cardbus.c | |
parent | 90576ca3c44963267c861feb5432ae35c1ccd46b (diff) |
constify struct cfattach
Diffstat (limited to 'sys/dev/cardbus/cardbus.c')
-rw-r--r-- | sys/dev/cardbus/cardbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index b63830635e9..98a2840fd94 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cardbus.c,v 1.52 2019/11/30 18:19:51 cheloha Exp $ */ +/* $OpenBSD: cardbus.c,v 1.53 2022/04/06 18:59:27 naddy Exp $ */ /* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */ /* @@ -80,7 +80,7 @@ STATIC void enable_function(struct cardbus_softc *, int, int); STATIC void disable_function(struct cardbus_softc *, int); -struct cfattach cardbus_ca = { +const struct cfattach cardbus_ca = { sizeof(struct cardbus_softc), cardbusmatch, cardbusattach }; |