Take advantage of KOBJMETHOD_END.

This commit is contained in:
Marius Strobl 2009-03-19 20:36:46 +00:00
parent 2b78d30630
commit eea83874d9
4 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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 = {

View File

@ -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 = {

View File

@ -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 = {