Take advantage of KOBJMETHOD_END.
This commit is contained in:
parent
2b78d30630
commit
eea83874d9
@ -90,7 +90,7 @@ static device_method_t ofw_pcibus_methods[] = {
|
||||
DEVMETHOD(ofw_bus_get_node, ofw_bus_gen_get_node),
|
||||
DEVMETHOD(ofw_bus_get_type, ofw_bus_gen_get_type),
|
||||
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
struct ofw_pcibus_devinfo {
|
||||
|
@ -91,7 +91,7 @@ static device_method_t eeprom_methods[] = {
|
||||
DEVMETHOD(clock_gettime, mk48txx_gettime),
|
||||
DEVMETHOD(clock_settime, mk48txx_settime),
|
||||
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t eeprom_driver = {
|
||||
|
@ -89,7 +89,7 @@ static device_method_t rtc_ebus_methods[] = {
|
||||
DEVMETHOD(clock_gettime, mc146818_gettime),
|
||||
DEVMETHOD(clock_settime, mc146818_settime),
|
||||
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t rtc_ebus_driver = {
|
||||
|
@ -57,7 +57,7 @@ static device_method_t sc_methods[] = {
|
||||
DEVMETHOD(device_probe, sc_probe),
|
||||
DEVMETHOD(device_attach, sc_attach),
|
||||
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
static driver_t sc_driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user