uses KOBJMETHOD_END macro to indicate the end of method table.
Submitted by: yongari
This commit is contained in:
parent
b9b64aa5b2
commit
5a646f0eca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204923
@ -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",
|
||||
|
@ -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 = {
|
||||
|
@ -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",
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user