diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2022-03-12 06:54:06 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2022-03-12 06:54:06 +0000 |
commit | aad8a764f05e4cbda76e28b6e8fc1f7a99ef03cc (patch) | |
tree | 0e9472b555a7e72aef0ee5a6bf11a11e2ea3793c /sys | |
parent | 81000dd00128ef90469a32a272e81b9b710e5c82 (diff) |
Constify struct cfattach, not struct cfdriver
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_rge.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_rge.c b/sys/dev/pci/if_rge.c index f7386f46995..41b09cd27b4 100644 --- a/sys/dev/pci/if_rge.c +++ b/sys/dev/pci/if_rge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rge.c,v 1.17 2022/03/11 18:00:48 mpi Exp $ */ +/* $OpenBSD: if_rge.c,v 1.18 2022/03/12 06:54:05 jmatthew Exp $ */ /* * Copyright (c) 2019, 2020 Kevin Lo <kevlo@openbsd.org> @@ -130,11 +130,11 @@ static const struct { RTL8125_MAC_CFG5_MCU }; -struct cfattach rge_ca = { +const struct cfattach rge_ca = { sizeof(struct rge_softc), rge_match, rge_attach, NULL, rge_activate }; -const struct cfdriver rge_cd = { +struct cfdriver rge_cd = { NULL, "rge", DV_IFNET }; |