diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 943a46a06601..b79e9d00ff20 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -14270,7 +14270,7 @@ static device_method_t bwn_methods[] = { DEVMETHOD(device_detach, bwn_detach), DEVMETHOD(device_suspend, bwn_suspend), DEVMETHOD(device_resume, bwn_resume), - { 0,0 } + KOBJMETHOD_END }; static driver_t bwn_driver = { "bwn", diff --git a/sys/dev/siba/siba.c b/sys/dev/siba/siba.c index 541585b47e75..4ee11ca24a40 100644 --- a/sys/dev/siba/siba.c +++ b/sys/dev/siba/siba.c @@ -632,7 +632,7 @@ static device_method_t siba_methods[] = { DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), DEVMETHOD(bus_write_ivar, siba_write_ivar), - {0, 0}, + KOBJMETHOD_END }; static driver_t siba_driver = { diff --git a/sys/dev/siba/siba_bwn.c b/sys/dev/siba/siba_bwn.c index 56e16fd1bfd6..b335484d4d71 100644 --- a/sys/dev/siba/siba_bwn.c +++ b/sys/dev/siba/siba_bwn.c @@ -409,7 +409,7 @@ static device_method_t siba_bwn_methods[] = { DEVMETHOD(pci_release_msi, siba_bwn_release_msi), DEVMETHOD(pci_msi_count, siba_bwn_msi_count), - { 0,0 } + KOBJMETHOD_END }; static driver_t siba_bwn_driver = { "siba_bwn", diff --git a/sys/dev/siba/siba_cc.c b/sys/dev/siba/siba_cc.c index db0aac507be6..67af696fba71 100644 --- a/sys/dev/siba/siba_cc.c +++ b/sys/dev/siba/siba_cc.c @@ -141,7 +141,7 @@ static device_method_t siba_cc_methods[] = { DEVMETHOD(device_attach, siba_cc_attach), DEVMETHOD(device_probe, siba_cc_probe), - {0, 0}, + KOBJMETHOD_END }; static driver_t siba_cc_driver = { diff --git a/sys/dev/siba/siba_pcib.c b/sys/dev/siba/siba_pcib.c index 5175aa7ee0bc..d6ddeb695ab8 100644 --- a/sys/dev/siba/siba_pcib.c +++ b/sys/dev/siba/siba_pcib.c @@ -419,7 +419,7 @@ static device_method_t siba_pcib_methods[] = { DEVMETHOD(pcib_write_config, siba_pcib_write_config), DEVMETHOD(pcib_route_interrupt, siba_pcib_route_interrupt), - {0, 0}, + KOBJMETHOD_END }; static driver_t siba_pcib_driver = {