diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2021-09-28 18:12:58 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2021-09-28 19:11:01 +0000 |
| commit | c83ae596f3c2ce8c4ef2bacfb63100aaf8d48bb7 (patch) | |
| tree | 8311c82dc753c771544055339109cdd31706698e /sys/dev/mgb | |
| parent | b9b5a4dd590e1b30d92dc73b3d1f22d3303e7e41 (diff) | |
Diffstat (limited to 'sys/dev/mgb')
| -rw-r--r-- | sys/dev/mgb/if_mgb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c index de4f78e0fd57..9515d0d5d788 100644 --- a/sys/dev/mgb/if_mgb.c +++ b/sys/dev/mgb/if_mgb.c @@ -206,7 +206,7 @@ static driver_t mgb_driver = { "mgb", mgb_methods, sizeof(struct mgb_softc) }; -devclass_t mgb_devclass; +static devclass_t mgb_devclass; DRIVER_MODULE(mgb, pci, mgb_driver, mgb_devclass, NULL, NULL); IFLIB_PNP_INFO(pci, mgb, mgb_vendor_info_array); MODULE_VERSION(mgb, 1); @@ -270,7 +270,7 @@ static driver_t mgb_iflib_driver = { "mgb", mgb_iflib_methods, sizeof(struct mgb_softc) }; -struct if_txrx mgb_txrx = { +static struct if_txrx mgb_txrx = { .ift_txd_encap = mgb_isc_txd_encap, .ift_txd_flush = mgb_isc_txd_flush, .ift_txd_credits_update = mgb_isc_txd_credits_update, @@ -282,7 +282,7 @@ struct if_txrx mgb_txrx = { .ift_legacy_intr = mgb_legacy_intr }; -struct if_shared_ctx mgb_sctx_init = { +static struct if_shared_ctx mgb_sctx_init = { .isc_magic = IFLIB_MAGIC, .isc_q_align = PAGE_SIZE, |
