Use DEVMETHOD_END.
This commit is contained in:
parent
53a835d2db
commit
392c880066
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user