diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-05-09 21:26:44 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-09 21:26:44 +0000 |
| commit | 42726c2fc23a463a1c43cab1bf9cca158c81a0f3 (patch) | |
| tree | 75b1dc3c5233d4aaa79f9855d1fb0d5535f1ab56 /sys/dev/etherswitch/felix | |
| parent | beccd04c88c5102f3cfcf2c31d83591e2d550388 (diff) | |
Diffstat (limited to 'sys/dev/etherswitch/felix')
| -rw-r--r-- | sys/dev/etherswitch/felix/felix.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/etherswitch/felix/felix.c b/sys/dev/etherswitch/felix/felix.c index e93cc59621fa..e184e2a0fc16 100644 --- a/sys/dev/etherswitch/felix/felix.c +++ b/sys/dev/etherswitch/felix/felix.c @@ -140,12 +140,10 @@ static device_method_t felix_methods[] = { DEVMETHOD_END }; -static devclass_t felix_devclass; DEFINE_CLASS_0(felix, felix_driver, felix_methods, sizeof(struct felix_softc)); -DRIVER_MODULE_ORDERED(felix, pci, felix_driver, felix_devclass, - NULL, NULL, SI_ORDER_ANY); +DRIVER_MODULE_ORDERED(felix, pci, felix_driver, NULL, NULL, SI_ORDER_ANY); DRIVER_MODULE(miibus, felix, miibus_fdt_driver, NULL, NULL); DRIVER_MODULE(etherswitch, felix, etherswitch_driver, NULL, NULL); MODULE_VERSION(felix, 1); |
