artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65deb39
)
Constify struct cfattach, not struct cfdriver
author
jmatthew
<jmatthew@openbsd.org>
Sat, 12 Mar 2022 06:54:05 +0000
(06:54 +0000)
committer
jmatthew
<jmatthew@openbsd.org>
Sat, 12 Mar 2022 06:54:05 +0000
(06:54 +0000)
sys/dev/pci/if_rge.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_rge.c
b/sys/dev/pci/if_rge.c
index
f7386f4
..
41b09cd
100644
(file)
--- a/
sys/dev/pci/if_rge.c
+++ b/
sys/dev/pci/if_rge.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_rge.c,v 1.1
7 2022/03/11 18:00:48 mpi Exp $
*/
+/* $OpenBSD: if_rge.c,v 1.1
8 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
};