Use DEVMETHOD_END.

This commit is contained in:
Rui Paulo 2013-02-11 08:20:21 +00:00
parent 53a835d2db
commit 392c880066
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ static device_method_t wiigpio_methods[] = {
DEVMETHOD(gpio_pin_set, wiigpio_pin_set),
DEVMETHOD(gpio_pin_toggle, wiigpio_pin_toggle),
{ 0, 0 },
DEVMETHOD_END
};
static driver_t wiigpio_driver = {

View File

@ -57,7 +57,7 @@ static device_method_t wiiipc_methods[] = {
DEVMETHOD(device_probe, wiiipc_probe),
DEVMETHOD(device_attach, wiiipc_attach),
{ 0, 0 },
DEVMETHOD_END
};
static driver_t wiiipc_driver = {

View File

@ -73,7 +73,7 @@ static device_method_t wiipic_methods[] = {
DEVMETHOD(pic_mask, wiipic_mask),
DEVMETHOD(pic_unmask, wiipic_unmask),
{ 0, 0 },
DEVMETHOD_END
};
static driver_t wiipic_driver = {